Home
last modified time | relevance | path

Searched refs:pwbufp (Results 1 – 25 of 58) sorted by relevance

123

/dports/security/munge/munge-munge-0.5.14/src/common/
H A Dxgetpw.c116 xpwbuf_p pwbufp; in xgetpwbuf_create() local
122 if (pwbufp == NULL) { in xgetpwbuf_create()
127 free (pwbufp); in xgetpwbuf_create()
130 pwbufp->len = len; in xgetpwbuf_create()
132 return (pwbufp); in xgetpwbuf_create()
145 free (pwbufp); in xgetpwbuf_destroy()
209 rv = getpwnam_r (name, pwp, pwbufp->buf, pwbufp->len, &rv_pwp); in xgetpwnam()
250 rv = getpwnam_r (name, pwp, pwbufp->buf, pwbufp->len); in xgetpwnam()
260 rv_pwp = getpwnam_r (name, pwp, pwbufp->buf, pwbufp->len); in xgetpwnam()
439 p = pwbufp->buf; in _xgetpwbuf_copy_struct()
[all …]
H A Dquery.c49 xpwbuf_p pwbufp; in query_uid() local
60 pwbufp = xgetpwbuf_create (0); in query_uid()
61 if (pwbufp == NULL) { in query_uid()
64 if (xgetpwnam (user, &pw, pwbufp) == 0) { in query_uid()
88 xgetpwbuf_destroy (pwbufp); in query_uid()
H A Dxgetpw.h49 void xgetpwbuf_destroy (xpwbuf_p pwbufp);
51 size_t xgetpwbuf_get_len (xpwbuf_p pwbufp);
53 int xgetpwnam (const char *name, struct passwd *pwp, xpwbuf_p pwbufp);
/dports/devel/clixon/clixon-4.8.0/lib/src/
H A Dclixon_uid.c107 struct passwd *pwbufp = NULL; in name2uid() local
109 if (getpwnam_r(name, &pwbuf, buf, sizeof(buf), &pwbufp) != 0){ in name2uid()
113 if (pwbufp == NULL){ in name2uid()
118 *uid = pwbufp->pw_uid; in name2uid()
137 struct passwd *pwbufp = NULL; in uid2name() local
139 if (getpwuid_r(uid, &pwbuf, buf, sizeof(buf), &pwbufp) != 0){ in uid2name()
143 if (pwbufp == NULL){ in uid2name()
149 if ((*name = strdup(pwbufp->pw_name)) == NULL){ in uid2name()
/dports/net/srelay/srelay-0.4.8p3/
H A Dauth-pwd.c199 struct passwd pwbuf, *pwbufp = &pwbuf; in checkpasswd() local
214 getpwnam_r(user, &pwbuf, buf, sizeof(buf), &pwbufp); in checkpasswd()
224 if (pwbufp == NULL) { in checkpasswd()
228 if (pwbufp->pw_passwd == NULL && pass == NULL) { in checkpasswd()
232 if (*pwbufp->pw_passwd) { in checkpasswd()
233 if (strcmp(pwbufp->pw_passwd, crypt(pass, pwbufp->pw_passwd)) == 0) { in checkpasswd()
/dports/lang/mono/mono-5.10.1.57/support/
H A Dpwd.c116 void **pwbufp) in Mono_Posix_Syscall_getpwnam_r() argument
140 } while ((r = getpwnam_r (name, &_pwbuf, buf, buflen, (struct passwd**) pwbufp)) && in Mono_Posix_Syscall_getpwnam_r()
143 if (r == 0 && !(*pwbufp)) in Mono_Posix_Syscall_getpwnam_r()
159 void **pwbufp) in Mono_Posix_Syscall_getpwuid_r() argument
183 } while ((r = getpwuid_r (uid, &_pwbuf, buf, buflen, (struct passwd**) pwbufp)) && in Mono_Posix_Syscall_getpwuid_r()
186 if (r == 0 && !(*pwbufp)) in Mono_Posix_Syscall_getpwuid_r()
/dports/security/munge/munge-munge-0.5.14/src/munged/
H A Dgids.c144 const char *user, uid_t *uid_resultp, xpwbuf_p pwbufp);
423 xpwbuf_p pwbufp = NULL; in _gids_map_create() local
460 if (!(pwbufp = xgetpwbuf_create (pwbuflen))) { in _gids_map_create()
491 *userp, &uid, pwbufp); in _gids_map_create()
506 pwbuflen = xgetpwbuf_get_len (pwbufp); in _gids_map_create()
507 xgetpwbuf_destroy (pwbufp); in _gids_map_create()
540 if (pwbufp != NULL) { in _gids_map_create()
541 xgetpwbuf_destroy (pwbufp); in _gids_map_create()
558 const char *user, uid_t *uid_resultp, xpwbuf_p pwbufp) in _gids_user_to_uid() argument
571 else if (xgetpwnam (user, &pw, pwbufp) == 0) { in _gids_user_to_uid()
/dports/devel/hadoop/hadoop-1.2.1/src/native/src/org/apache/hadoop/security/
H A DgetGroup.c120 struct passwd *pwbufp = NULL; in getPW() local
132 currBufferSize - sizeof(struct passwd), &pwbufp); in getPW()
143 if (!pwbufp && !error) { in getPW()
/dports/sysutils/fusefs-bindfs/bindfs-1.14.8/src/
H A Duserinfo.c268 struct passwd pwbuf, *pwbufp = NULL;
269 int res = getpwnam_r(username, &pwbuf, buf, buflen, &pwbufp);
273 res = getpwnam_r(username, &pwbuf, buf, buflen, &pwbufp);
276 if (pwbufp == NULL) {
/dports/security/samhain-client/samhain-4.4.3/include/
H A Dsh_static.h22 char *buf, size_t buflen, struct passwd **pwbufp);
30 char *buf, size_t buflen, struct passwd **pwbufp);
/dports/security/samhain-server/samhain-4.4.3/include/
H A Dsh_static.h22 char *buf, size_t buflen, struct passwd **pwbufp);
30 char *buf, size_t buflen, struct passwd **pwbufp);
/dports/security/samhain/samhain-4.4.3/include/
H A Dsh_static.h22 char *buf, size_t buflen, struct passwd **pwbufp);
30 char *buf, size_t buflen, struct passwd **pwbufp);
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/untrusted/nacl/stubs/
H A Dgetpwnam_r.c17 char *buf, size_t buflen, struct passwd **pwbufp) { in getpwnam_r() argument
H A Dgetpwuid_r.c17 char *buf, size_t buflen, struct passwd **pwbufp) { in getpwuid_r() argument
/dports/net/aprsc/aprsc-2.1.10.gd72a17c/src/
H A Daprsc.c341 struct passwd *pwbufp; in find_uid() local
351 pwbufp = getpwnam_r(uid_s, &pwbuf, pw_buf_s, buflen); in find_uid()
353 int e = getpwnam_r(uid_s, &pwbuf, pw_buf_s, buflen, &pwbufp); in find_uid()
361 if (pwbufp == NULL) { in find_uid()
/dports/lang/gnat_util/gcc-6-20180516/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1475 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1483 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1486 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1498 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1501 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1505 __sanitizer_group **pwbufp) {
1513 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1516 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1520 SIZE_T buflen, __sanitizer_group **pwbufp) {
1528 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/lang/gcc6-aux/gcc-6-20180516/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1475 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1483 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1486 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1498 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1501 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1505 __sanitizer_group **pwbufp) {
1513 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1516 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1520 SIZE_T buflen, __sanitizer_group **pwbufp) {
1528 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/devel/glib20/glib-2.70.4/gio/
H A Dglocalfileinfo.c1172 struct passwd *pwbufp; in lookup_uid_data() local
1188 getpwuid_r (uid, &pwbuf, buffer, sizeof(buffer), &pwbufp); in lookup_uid_data()
1190 pwbufp = getpwuid (uid); in lookup_uid_data()
1193 if (pwbufp != NULL) in lookup_uid_data()
1195 if (pwbufp->pw_name != NULL && pwbufp->pw_name[0] != 0) in lookup_uid_data()
1196 data->user_name = convert_pwd_string_to_utf8 (pwbufp->pw_name); in lookup_uid_data()
1199 gecos = pwbufp->pw_gecos; in lookup_uid_data()
/dports/lang/gcc8/gcc-8.5.0/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1879 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1887 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1890 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1902 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1905 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1909 __sanitizer_group **pwbufp) {
1917 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1920 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1924 SIZE_T buflen, __sanitizer_group **pwbufp) {
1932 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1879 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1887 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1890 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1902 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1905 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1909 __sanitizer_group **pwbufp) {
1917 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1920 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1924 SIZE_T buflen, __sanitizer_group **pwbufp) {
1932 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1879 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1887 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1890 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1902 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1905 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1909 __sanitizer_group **pwbufp) {
1917 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1920 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1924 SIZE_T buflen, __sanitizer_group **pwbufp) {
1932 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1879 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1887 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1890 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1902 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1905 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1909 __sanitizer_group **pwbufp) {
1917 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1920 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1924 SIZE_T buflen, __sanitizer_group **pwbufp) {
1932 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1879 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1887 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1890 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1902 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1905 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1909 __sanitizer_group **pwbufp) {
1917 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1920 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1924 SIZE_T buflen, __sanitizer_group **pwbufp) {
1932 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/devel/riscv64-gcc/gcc-8.3.0/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1879 SIZE_T buflen, __sanitizer_passwd **pwbufp) {
1887 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1890 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1902 if (pwbufp && *pwbufp) unpoison_passwd(ctx, *pwbufp);
1905 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1909 __sanitizer_group **pwbufp) {
1917 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
1920 if (pwbufp) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pwbufp, sizeof(*pwbufp));
1924 SIZE_T buflen, __sanitizer_group **pwbufp) {
1932 if (pwbufp && *pwbufp) unpoison_group(ctx, *pwbufp);
[all …]
/dports/net-mgmt/collectd5/collectd-5.12.0/src/utils/common/
H A Dcommon.h345 struct passwd **pwbufp);

123