Home
last modified time | relevance | path

Searched refs:pw (Results 126 – 150 of 182) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c119 static char *_unix_crypt(const char *pw, const char *salt, char *iobuf);
1061 _unix_crypt(const char *pw, const char *salt, char *iobuf) in _unix_crypt() argument
1078 for (i = 0; (c = *pw) != '\0' && i < 64; pw++) { in _unix_crypt()
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dipp-support.c173 struct passwd *pw = NULL; in ipp_initialize_operational_attributes() local
195 if ((pw = getpwuid(getuid())) != NULL) in ipp_initialize_operational_attributes()
196 user = pw->pw_name; in ipp_initialize_operational_attributes()
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-job.c164 struct passwd *pw; in lpd_add_rfc1179_attributes() local
184 if ((pw = getpwuid(uid)) != NULL) in lpd_add_rfc1179_attributes()
185 user = pw->pw_name; in lpd_add_rfc1179_attributes()
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c599 struct passwd *pw; in cli_auth_callback() local
601 if ((pw = getpwuid(getuid())) != NULL) in cli_auth_callback()
602 user = pw->pw_name; in cli_auth_callback()
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c954 struct passwd *pw; in fill_export_from_optionset() local
955 pw = getpwnam(value != NULL ? value : "nobody"); in fill_export_from_optionset()
956 if (pw != NULL) { in fill_export_from_optionset()
957 val = pw->pw_uid; in fill_export_from_optionset()
1222 struct passwd *pw; in fill_security_from_secopts() local
1223 pw = getpwnam(value != NULL ? value : "nobody"); in fill_security_from_secopts()
1224 if (pw != NULL) { in fill_security_from_secopts()
1225 val = pw->pw_uid; in fill_security_from_secopts()
2085 struct passwd *pw; in check_user() local
2090 pw = getpwnam(value); in check_user()
[all …]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-mount.c481 struct passwd *pw; local
853 pw = getpwuid (calling_uid);
854 if (pw != NULL) {
855 calling_gid = pw->pw_gid;
/illumos-gate/usr/src/cmd/find/
H A Dfind.c577 struct passwd *pw; in compile() local
585 if ((pw = getpwnam(b)) != 0) in compile()
586 value = (long)pw->pw_uid; in compile()
1623 struct passwd *pw; in getname() local
1633 pw = getpwuid(uid); in getname()
1634 if (!pw) in getname()
1637 SCPYN(nc[cp].name, pw->pw_name); in getname()
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c266 struct passwd *pw = getpwnam(arg); in main() local
267 if (pw == NULL) { in main()
272 uid = pw->pw_uid; in main()
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c198 struct passwd *pw, *getpwuid(); in main() local
216 if (shutter == 0 && (pw = getpwuid(getuid()))) in main()
217 shutter = pw->pw_name; in main()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c710 struct passwd *pw; in getpruid() local
719 pw = getpwnam(rcp3); in getpruid()
720 *uid = pw->pw_uid; in getpruid()
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c213 struct passwd *pw; in getentry() local
226 } else if (pw = getpwnam(name)) in getentry()
227 uid = pw->pw_uid; in getentry()
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c811 struct passwd *pw; in getname() local
815 if ((pw = getpwuid(uid)) != NULL) { in getname()
816 (void) SCPYN(&c->name[0], pw->pw_name); in getname()
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DTransact.java1097 PrintWriter pw = new PrintWriter(sw); in run() local
1099 xes.printStackTrace(pw); in run()
1100 pw.flush(); in run()
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c356 struct passwd pw, *pwd; in callback_pfexec() local
381 if (getpwuid_r(uuid, &pw, buf, sizeof (buf), &pwd) != 0 || pwd == NULL) in callback_pfexec()
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c2276 char *pw; /* font widthtab and */ in put1() local
2315 pw = widthtab[font]; in put1()
2321 pw = widthtab[k]; in put1()
2329 lastw = widthfac * (((pw[i] & BMASK) * pstab[size-1] + unitwidth/2) / unitwidth); in put1()
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c423 struct passwd pw; in getuname() local
446 if ((getpwuid_r(uid, &pw, pw_buf, GETPWUID_BUFF_LEN)) == NULL) in getuname()
450 l = strlcpy(uidhash[ix].ht_value, pw.pw_name, in getuname()
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c774 struct passwd *pw = getpwuid((uid_t)val); in at_uid() local
776 if ((pw == NULL) || (pw->pw_name == NULL)) in at_uid()
779 (void) snprintf(str, n, "%lu(%s)", val, pw->pw_name); in at_uid()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c562 struct passwd *pw; in options_from_user() local
565 pw = getpwuid(getuid()); in options_from_user()
566 if (pw == NULL || (user = pw->pw_dir) == NULL || user[0] == '\0') in options_from_user()
H A Dmain.c298 struct passwd *pw; local
531 pw = getpwuid(uid);
532 if (pw != NULL && pw->pw_name != NULL)
533 p = pw->pw_name;
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A DREADME74 > logon [user [dom [pw]]]
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dpciex.esc686 event error.io.pci.nr-pw-d@PCIEXFN/PCIFN;
688 event error.io.pci.ta-pw-d@PCIEXFN/PCIFN;
697 error.io.pci.nr-pw-d@PCIEXFN/PCIFNHZ,
714 error.io.pci.ta-pw-d@PCIEXFN/PCIFNHZ,
821 event error.io.pci.badreq-pw-d@PCIEXFN/PCIFN;
825 event error.io.pci.dpdata-pw-d@PCIEXFN/PCIFN;
1025 error.io.pci.dpdata-pw-d@PCIEXFN/PCIFNHZ,
1767 event error.io.pci.badreq-pw-u@PCIEXFN/PCIFN;
1771 event error.io.pci.dpdata-pw-u@PCIEXFN/PCIFN;
1774 event error.io.pci.perr-pw-u@PCIEXFN/PCIFN;
[all …]
/illumos-gate/usr/src/lib/libvscan/common/
H A Dlibvscan.c1459 struct passwd *pw; in vs_checkauth() local
1464 if ((pw = getpwuid(uid)) == NULL) in vs_checkauth()
1467 if (chkauthattr(auth, pw->pw_name) != 1) { in vs_checkauth()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinode.c1074 struct passwd *pw; in pdinode() local
1078 if ((pw = getpwuid((int)dp->di_uid)) != 0) in pdinode()
1079 (void) printf("%s ", pw->pw_name); in pdinode()
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c1474 struct passwd *pw; in main() local
1478 if (user == NULL && (pw = getpwuid(getuid())) != NULL) in main()
1479 user = pw->pw_name; in main()
/illumos-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c83 struct passwd *pw; in get_name_from_os() local
84 if ((pw = getpwuid((int) getuid()))) in get_name_from_os()
85 return pw->pw_name; in get_name_from_os()

12345678