Searched refs:pw (Results 251 - 274 of 274) sorted by relevance

<<11

/openbsd-current/regress/usr.bin/ssh/unittests/sshkey/
H A Dmktestdata.sh87 rm -f pw *.pub *.bn.* *.param.* *.fp *.fp.bb
222 echo "$PW" > pw
/openbsd-current/bin/csh/
H A Dcsh.c1228 struct passwd *pw; local
1243 if ((pw = getpwnam(short2str(home))) != NULL) {
1244 if (Strlcpy(home, str2short(pw->pw_dir), len) >= len)
/openbsd-current/usr.bin/ssh/
H A Dssh-add.c1008 struct passwd *pw; local
1012 if ((pw = getpwuid(getuid())) == NULL) {
1020 snprintf(buf, sizeof(buf), "%s/%s", pw->pw_dir,
H A Dservconf.c928 struct passwd *pw; local
933 if ((pw = getpwnam(user)) == NULL) {
936 } else if (ga_init(pw->pw_name, pw->pw_gid) == 0) {
/openbsd-current/usr.bin/tmux/
H A Dcmd-queue.c569 struct passwd *pw; local
576 if ((pw = getpwuid(uid)) != NULL)
577 xasprintf(&user, "[%s]", pw->pw_name);
/openbsd-current/usr.sbin/bgpd/
H A Dsession.c202 struct passwd *pw; local
216 if ((pw = getpwnam(BGPD_USER)) == NULL)
219 if (chroot(pw->pw_dir) == -1)
226 if (setgroups(1, &pw->pw_gid) ||
227 setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) ||
228 setresuid(pw->pw_uid, pw->pw_uid, pw
[all...]
/openbsd-current/usr.bin/rcs/
H A Drcs.c1114 struct passwd *pw; local
1148 if (!(pw = getpwuid(getuid())))
1150 author = pw->pw_name;
/openbsd-current/usr.sbin/vmd/
H A Dparse.y575 struct passwd *pw;
589 if ((pw = getpwnam(user)) == NULL) {
595 $$.uid = pw->pw_uid;
/openbsd-current/sbin/ping/
H A Dping.c251 struct passwd *pw; local
285 if (ouid == 0 && (pw = getpwnam(PING_USER)) != NULL) {
286 uid = pw->pw_uid;
287 gid = pw->pw_gid;
/openbsd-current/gnu/usr.bin/cvs/src/
H A Dserver.c5454 struct passwd *pw;
5456 pw = getpwnam (username);
5457 if (pw == NULL)
5469 if (initgroups (pw->pw_name, pw->pw_gid) < 0
5504 if (setgid (pw->pw_gid) < 0)
5514 if (setuid (pw->pw_uid) < 0)
5753 struct passwd *pw;
5764 if (found_passwd == NULL && (pw = getpwnam (username)) != NULL)
5766 found_passwd = pw
5423 struct passwd *pw; local
5721 struct passwd *pw; local
[all...]
H A Dcommit.c351 struct passwd *pw; local
353 if ((pw = (struct passwd *) getpwnam (getcaller ())) == NULL)
355 if (pw->pw_uid == (uid_t) 0)
/openbsd-current/usr.sbin/snmpd/
H A Dparse.y511 struct passwd *pw;
519 if ((pw = getpwnam($2)) == NULL) {
523 $$.axm_owner = pw->pw_uid;
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/
H A DRNBRemote.cpp3909 struct passwd *pw = getpwuid (my_uid); local
3910 if (pw && pw->pw_name) {
3911 my_username = pw->pw_name;
3913 pw = getpwuid (process_uid);
3914 if (pw && pw->pw_name) {
3915 process_username = pw->pw_name;
/openbsd-current/sys/dev/ic/
H A Dadvlib.c1071 u_int32_t *pw; local
1075 pw = s_buffer;
1076 for (i = 0; i < dwords; i++, pw++) {
1077 ASC_SET_CHIP_LRAM_DATA(iot, ioh, LO_WORD(*pw));
1079 ASC_SET_CHIP_LRAM_DATA(iot, ioh, HI_WORD(*pw));
/openbsd-current/usr.bin/cvs/
H A Drcs.c1122 struct passwd *pw; local
1152 if (!(pw = getpwuid(getuid())))
1154 author = pw->pw_name;
/openbsd-current/usr.sbin/lpd/
H A Dlp.c188 CGETNUM(pw, DEFAULT_PW);
/openbsd-current/sys/dev/acpi/
H A Dacpidmar.c927 struct qi_entry *pi, *pw;
931 pw = &iommu->qi[(idx+1) % MAXQ];
934 memcpy(pw, &qi, sizeof(qi));
936 while (pw->xxx)
/openbsd-current/gnu/usr.bin/perl/os2/
H A Dos2.c194 #define pw (Perl_po2()->po2_pw) macro
5322 pw = *p;
5328 pw.pw_passwd = s;
5329 return &pw;
/openbsd-current/gnu/lib/libstdc++/
H A Dltconfig1095 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
/openbsd-current/gnu/usr.bin/perl/regen/
H A Dreentr.pl665 if ($genfunc =~ /^(?:get|set|end)(pw|gr|host|net|proto|serv|sp)/) {
/openbsd-current/libexec/snmpd/snmpd_metrics/
H A Dmib.c3236 struct passwd *pw; local
3316 if ((pw = getpwnam("_snmpd")) == NULL)
3357 if (setuid(pw->pw_uid) == -1)
/openbsd-current/gnu/usr.bin/binutils-2.17/
H A Dltconfig1090 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
/openbsd-current/gnu/usr.bin/binutils/
H A Dltconfig1090 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp16938 unsigned pw = Context.getTargetInfo().getPointerWidth(LangAS::Default); local
16939 if (pw == Context.getTargetInfo().getIntWidth())
16941 else if (pw == Context.getTargetInfo().getLongWidth())
16943 else if (pw == Context.getTargetInfo().getLongLongWidth())

Completed in 376 milliseconds

<<11