/titanic_44/usr/src/cmd/oamuser/user/ |
H A D | useradd.c | 155 errmsg(M_PERM_DENIED); 233 errmsg(M_ARUSAGE); 246 errmsg(M_ARUSAGE); 248 errmsg(M_AUSAGE); 261 errmsg(M_ARUSAGE); 263 errmsg(M_AUSAGE); 270 errmsg(M_ARUSAGE); 272 errmsg(M_AUSAGE); 280 errmsg(M_INVALID, group, "group id"); 284 errmsg(M_TOOBIG, "gid", group); [all …]
|
H A D | userdel.c | 82 errmsg( M_PERM_DENIED ); in main() 96 errmsg( M_DRUSAGE ); in main() 98 errmsg( M_DUSAGE ); in main() 105 errmsg( M_DRUSAGE ); in main() 107 errmsg( M_DUSAGE ); in main() 121 errmsg( M_OOPS, "open", "/etc/passwd"); in main() 132 errmsg( M_EXIST, logname ); in main() 137 errmsg( M_BUSY, logname, "remove" ); in main() 157 errmsg(M_OOPS, "find status about home directory", in main() 164 errmsg( M_NO_PERM, logname, pstruct->pw_dir ); in main() [all …]
|
H A D | usermod.c | 170 errmsg(M_PERM_DENIED); 254 errmsg(M_MRUSAGE); 256 errmsg(M_MUSAGE); 262 errmsg(M_MRUSAGE); 264 errmsg(M_MUSAGE); 270 errmsg(M_MRUSAGE); 272 errmsg(M_MUSAGE); 289 errmsg(M_ISROLE); 291 errmsg(M_ISUSER); 301 errmsg(M_MRUSAGE); [all …]
|
/titanic_44/usr/src/common/net/wanboot/ |
H A D | bootconf_errmsg.c | 41 static char errmsg[256]; in bootconf_errmsg() local 61 if ((chars = snprintf(errmsg, sizeof (errmsg), in bootconf_errmsg() 63 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) { in bootconf_errmsg() 64 errstr = errmsg; in bootconf_errmsg() 68 if ((chars = snprintf(errmsg, sizeof (errmsg), in bootconf_errmsg() 70 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) { in bootconf_errmsg() 71 errstr = errmsg; in bootconf_errmsg() 75 if ((chars = snprintf(errmsg, sizeof (errmsg), in bootconf_errmsg() 77 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) { in bootconf_errmsg() 78 errstr = errmsg; in bootconf_errmsg() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf.c | 57 char errmsg[128]; in ibmf_register() local 69 (void) sprintf(errmsg, in ibmf_register() 78 (void) sprintf(errmsg, "Bad version"); in ibmf_register() 87 (void) sprintf(errmsg, "Bad flags"); in ibmf_register() 96 (void) sprintf(errmsg, "invalid class"); in ibmf_register() 107 (void) sprintf(errmsg, "guid/port validation failed"); in ibmf_register() 135 (void) sprintf(errmsg, in ibmf_register() 213 "ibmf_register(): %s\n", tnf_string, msg, errmsg); in ibmf_register() 231 char errmsg[128]; in ibmf_unregister() local 243 (void) sprintf(errmsg, in ibmf_unregister() [all …]
|
/titanic_44/usr/src/lib/scsi/libses/common/ |
H A D | ses_subr.c | 178 char *errmsg; in ses_verror() local 180 errmsg = alloca(sizeof (_ses_errmsg)); in ses_verror() 181 (void) vsnprintf(errmsg, sizeof (_ses_errmsg), fmt, ap); in ses_verror() 184 n = strlen(errmsg); in ses_verror() 186 while (n != 0 && errmsg[n - 1] == '\n') in ses_verror() 187 errmsg[--n] = '\0'; in ses_verror() 189 bcopy(errmsg, _ses_errmsg, sizeof (_ses_errmsg)); in ses_verror() 201 char *errmsg; in ses_vnverror() local 203 errmsg = alloca(sizeof (_ses_errmsg)); in ses_vnverror() 204 (void) vsnprintf(errmsg, sizeof (_ses_errmsg), fmt, ap); in ses_vnverror() [all …]
|
/titanic_44/usr/src/cmd/oamuser/group/ |
H A D | groupadd.c | 46 extern int errmsg(); 81 errmsg(M_AUSAGE); in main() 86 errmsg(M_AUSAGE); in main() 94 errmsg(M_GRP_INVALID, grpname); in main() 98 errmsg(M_GRP_USED, grpname); in main() 113 errmsg(M_GID_INVALID, gidstr); in main() 119 errmsg(M_RESERVED, gid); in main() 124 errmsg(M_GRP_USED, gidstr); in main() 130 errmsg(M_GID_INVALID, gidstr); in main() 134 errmsg(M_TOOBIG, gid); in main() [all …]
|
H A D | groupmod.c | 56 extern void errmsg(); 86 errmsg(M_MUSAGE); in main() 92 errmsg(M_MUSAGE); in main() 106 errmsg(M_GID_INVALID, gidstr); in main() 112 errmsg(M_RESERVED, gid); in main() 117 errmsg(M_GRP_USED, gidstr); in main() 123 errmsg(M_GID_INVALID, gidstr); in main() 128 errmsg(M_TOOBIG, gid); in main() 139 errmsg(M_GRP_INVALID, newname); in main() 142 errmsg(M_GRP_USED, newname); in main() [all …]
|
/titanic_44/usr/src/cmd/ssh/ssh/ |
H A D | gss-clnt.c | 74 char *errmsg; in ssh_gssapi_client_mechs() local 88 errmsg = ssh_gssapi_last_error(NULL, &maj, &min); in ssh_gssapi_client_mechs() 89 debug("Failed to allocate resources (%s) for GSS-API", errmsg); in ssh_gssapi_client_mechs() 90 xfree(errmsg); in ssh_gssapi_client_mechs() 98 errmsg = ssh_gssapi_last_error(NULL, &maj, &min); in ssh_gssapi_client_mechs() 100 "mechanisms (%s)", errmsg); in ssh_gssapi_client_mechs() 101 xfree(errmsg); in ssh_gssapi_client_mechs() 129 errmsg = ssh_gssapi_last_error(ctxt, NULL, NULL); in ssh_gssapi_client_mechs() 131 ssh_gssapi_oid_to_name(mech), errmsg); in ssh_gssapi_client_mechs() 132 xfree(errmsg); in ssh_gssapi_client_mechs() [all …]
|
/titanic_44/usr/src/cmd/krb5/kadmin/server/ |
H A D | server_stubs.c | 476 const char *errmsg, in log_done() argument 494 op, tlen, target, tdots, errmsg, in log_done() 512 const char *errmsg = NULL; in create_principal_2_svc() local 562 errmsg = krb5_get_error_message(handle ? handle->context : NULL, ret.code); in create_principal_2_svc() 568 errmsg ? errmsg : "success", in create_principal_2_svc() 571 if (errmsg != NULL) in create_principal_2_svc() 572 krb5_free_error_message(handle ? handle->context : NULL, errmsg); in create_principal_2_svc() 619 const char *errmsg = NULL; in create_principal3_2_svc() local 667 errmsg = krb5_get_error_message(handle ? handle->context : NULL, ret.code); in create_principal3_2_svc() 670 errmsg ? errmsg : "success", in create_principal3_2_svc() [all …]
|
/titanic_44/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_nic.c | 736 char *errmsg = NULL; in smb_nic_hlist_dbget() local 749 rc = sqlite_compile(db, sql, NULL, &vm, &errmsg); in smb_nic_hlist_dbget() 756 NULL_MSGCHK(errmsg)); in smb_nic_hlist_dbget() 784 rc = sqlite_finalize(vm, &errmsg); in smb_nic_hlist_dbget() 788 NULL_MSGCHK(errmsg)); in smb_nic_hlist_dbget() 896 char *errmsg = NULL; in smb_nic_dbcreate() local 901 db = sqlite_open(SMB_NIC_DB_NAME, 0600, &errmsg); in smb_nic_dbcreate() 904 NULL_MSGCHK(errmsg)); in smb_nic_dbcreate() 905 sqlite_freemem(errmsg); in smb_nic_dbcreate() 910 rc = sqlite_exec(db, "BEGIN TRANSACTION", NULL, NULL, &errmsg); in smb_nic_dbcreate() [all …]
|
H A D | smb_lgrp.c | 164 char *errmsg; member 800 char *errmsg = NULL; in smb_lgrp_iteropen() local 823 rc = sqlite_compile(iter->sgi_db, sql, NULL, &iter->sgi_vm, &errmsg); in smb_lgrp_iteropen() 828 NULL_MSGCHK(errmsg)); in smb_lgrp_iteropen() 844 char *errmsg = NULL; in smb_lgrp_iterclose() local 852 rc = sqlite_finalize(iter->sgi_vm, &errmsg); in smb_lgrp_iterclose() 855 NULL_MSGCHK(errmsg)); in smb_lgrp_iterclose() 972 return (errtab[i].errmsg); in smb_lgrp_strerror() 1188 char *errmsg = NULL; in smb_lgrp_db_open() local 1190 db = sqlite_open(SMB_LGRP_DB_NAME, mode, &errmsg); in smb_lgrp_db_open() [all …]
|
/titanic_44/usr/src/lib/libast/common/uwin/ |
H A D | err.c | 48 errmsg(int level, int code, const char* fmt, va_list ap) in errmsg() function 70 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap); in verr() 78 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap); in err() 84 errmsg(ERROR_ERROR, code, fmt, ap); in verrx() 92 errmsg(ERROR_ERROR, code, fmt, ap); in errx() 98 errmsg(ERROR_WARNING|ERROR_SYSTEM, 0, fmt, ap); in vwarn() 106 errmsg(ERROR_WARNING|ERROR_SYSTEM, 0, fmt, ap); in warn() 112 errmsg(ERROR_WARNING, 0, fmt, ap); in vwarnx() 120 errmsg(ERROR_WARNING, 0, fmt, ap); in warnx()
|
/titanic_44/usr/src/cmd/mail/ |
H A D | copyback.c | 77 errmsg(E_SPACE, ""); in copyback() 93 errmsg(E_OWNR, ""); in copyback() 111 errmsg(E_FILE, "Cannot open savefile"); in copyback() 113 errmsg(E_FILE, "Cannot re-write the alternate file"); in copyback() 119 errmsg(E_FILE, "Cannot chown savefile"); in copyback() 133 errmsg(E_FILE, "Cannot copy mail to savefile"); in copyback() 145 errmsg(E_FILE, "Cannot unlink mailfile"); in copyback() 151 errmsg(E_FILE, "Cannot rename savefile to mailfile"); in copyback() 156 errmsg(E_FILE, "Cannot link savefile to mailfile"); in copyback() 160 errmsg(E_FILE, "Cannot unlink save file"); in copyback()
|
/titanic_44/usr/src/lib/libpp/common/ |
H A D | ppexpr.c | 36 static char* errmsg; /* subexpr() error message */ variable 288 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "more tokens expected"; in subexpr() 319 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "too many )'s"; in subexpr() 328 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "closing ) expected"; in subexpr() 334 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "operator expected"; in subexpr() 361 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = ": expected for ? operator"; in subexpr() 509 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "divide by zero"; in subexpr() 521 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "# must precede a predicate identifier"; in subexpr() 564 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "invalid token"; in subexpr() 567 if (errmsg) return 0; in subexpr() [all …]
|
/titanic_44/usr/src/cmd/chmod/ |
H A D | chmod.c | 154 void errmsg(int severity, int code, char *format, ...); 282 errmsg(2, 0, gettext("can't access %s\n"), path); in dochmod() 289 errmsg(2, 0, gettext("can't access %s\n"), path); in dochmod() 310 errmsg(2, 0, gettext("can't change %s\n"), path); in dochmod() 343 errmsg(2, 255, gettext("chmod: could not getcwd %s\n"), in chmodr() 351 errmsg(2, 0, gettext("can't access %s\n"), path); in chmodr() 363 errmsg(2, 0, gettext("can't change %s\n"), path); in chmodr() 381 errmsg(2, 0, "%s/%s: %s\n", savedir, dir, strerror(errno)); in chmodr() 385 errmsg(2, 0, "%s\n", strerror(errno)); in chmodr() 398 errmsg(2, 0, gettext("directory path name too long: %s\n"), in chmodr() [all …]
|
H A D | common.c | 82 errmsg(int severity, int code, char *format, ...); 244 errmsg(1, 3, in newmode_common() 257 errmsg(2, 0, in newmode_common() 274 errmsg(1, 4, in newmode_common() 288 errmsg(2, 0, in newmode_common() 306 errmsg(2, 0, in newmode_common() 327 errmsg(2, 0, in newmode_common() 379 errmsg(2, 0, in newmode_common() 423 errmsg(1, 3, in newmode_common() 447 errmsg(1, 2, in newmode_common() [all …]
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | quota_ufs.c | 141 char *errmsg = NULL; in chkdq() local 325 errmsg = msg1; in chkdq() 340 errmsg = msg2; in chkdq() 347 errmsg = msg3; in chkdq() 368 errmsg = msg4; in chkdq() 381 if (errmsg != NULL) { in chkdq() 391 *lenp = strlen(errmsg) + 20 + 20 + in chkdq() 396 (void) sprintf(*uerrp, errmsg+1, in chkdq() 406 cmn_err(CE_NOTE, errmsg, in chkdq() 424 char *errmsg = NULL; in chkiq() local [all …]
|
/titanic_44/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_conf.c | 144 ib_lex(char *val, char **errmsg) in ib_lex() argument 205 (void) snprintf(*errmsg, MAXPATHLEN, in ib_lex() 230 (void) snprintf(*errmsg, MAXPATHLEN, in ib_lex() 479 ib_get_services(char **errmsg) in ib_get_services() argument 488 token = ib_lex(tokval, errmsg); in ib_get_services() 500 (void) snprintf(*errmsg, MAXPATHLEN, in ib_get_services() 544 (void) snprintf(*errmsg, MAXPATHLEN, in ib_get_services() 554 (void) snprintf(*errmsg, MAXPATHLEN, in ib_get_services() 561 (void) snprintf(*errmsg, MAXPATHLEN, in ib_get_services() 567 (void) snprintf(*errmsg, MAXPATHLEN, in ib_get_services() [all …]
|
/titanic_44/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 88 void (*errmsg)(char *)) in setdevaccess() 111 if (err && errmsg) { in setdevaccess() 115 (*errmsg)(errstring); in setdevaccess() 134 if (errmsg) { in setdevaccess() 138 (*errmsg)(errstring); in setdevaccess() 143 if (errmsg) { in setdevaccess() 147 (*errmsg)(errstring); in setdevaccess() 160 logindevperm(const char *ttyn, uid_t uid, gid_t gid, void (*errmsg)(char *)) in logindevperm() 177 if (errmsg) { in logindevperm() 181 (*errmsg)(errstring); in logindevperm() [all …]
|
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | direader.c | 156 int _dr_open_dir(DirReader *dr, const char *path, char **errmsg) in _dr_open_dir() argument 167 if(errmsg) { in _dr_open_dir() 169 *errmsg = _err_get_msg(dr->err); in _dr_open_dir() 178 if(errmsg) { in _dr_open_dir() 180 *errmsg = _err_get_msg(dr->err); in _dr_open_dir() 196 if(errmsg) { in _dr_open_dir() 199 *errmsg = _err_get_msg(dr->err); in _dr_open_dir() 216 if(errmsg) { in _dr_open_dir() 219 *errmsg = _err_get_msg(dr->err); in _dr_open_dir()
|
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass2.c | 62 caddr_t errmsg; in pass2() local 310 LINK_RANGE(errmsg, in pass2() 312 if (errmsg != NULL) { in pass2() 313 LINK_CLEAR(errmsg, in pass2() 349 LINK_RANGE(errmsg, lncntp[inp->i_dotdot], 1); in pass2() 350 if (errmsg != NULL) { in pass2() 351 LINK_CLEAR(errmsg, inp->i_dotdot, IFDIR, &ldesc); in pass2() 359 LINK_RANGE(errmsg, lncntp[inp->i_parent], -1); in pass2() 360 if (errmsg != NULL) { in pass2() 361 LINK_CLEAR(errmsg, inp->i_parent, IFDIR, &ldesc); in pass2() [all …]
|
/titanic_44/usr/src/cmd/mkdir/ |
H A D | mkdir.c | 69 errmsg(int severity, int code, char *format, ...); 138 errmsg(0, 2, gettext(MSGUSAGE)); in main() 170 errmsg(0, 0, gettext(MSGEXISTS), d); in main() 184 errmsg(0, 0, gettext( in main() 192 errmsg(0, 0, in main() 199 errmsg(0, 0, gettext(MSGFMT1), d, in main() 239 errmsg(0, 0, gettext(MSGFMT1), d, in main() 256 errmsg(0, 0, gettext(MSGFAILED), d, in main() 268 errmsg(0, 0, gettext(MSGFMT1), d, in main() 293 errmsg(int severity, int code, char *format, ...) in errmsg() function
|
/titanic_44/usr/src/cmd/who/ |
H A D | who.c | 113 static char errmsg[BUFSIZ]; /* used in snprintf for errors */ variable 417 (void) snprintf(errmsg, sizeof (errmsg), in main() 419 perror(errmsg); in main() 424 (void) snprintf(errmsg, sizeof (errmsg), in main() 426 perror(errmsg); in main() 431 (void) snprintf(errmsg, sizeof (errmsg), in main() 434 perror(errmsg); in main() 440 (void) snprintf(errmsg, sizeof (errmsg), in main() 443 perror(errmsg); in main() 835 (void) snprintf(errmsg, sizeof (errmsg), in ck_file() [all …]
|
/titanic_44/usr/src/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.procpriv.ksh | 43 BEGIN { errmsg = "can't read field from what"; printf("field: "); \ 47 BEGIN { errmsg = ""; trace(what->field); \ 51 BEGIN { errmsg = ""; printf("field: "); trace(what->field); printf("\n"); } 54 BEGIN { errmsg = "can't read vname"; printf("vname: "); \ 58 BEGIN { errmsg = ""; trace(vname); \ 62 BEGIN { errmsg = ""; printf("vname: "); trace(vname); printf("\n"); }
|