summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/linuxthreads/kernel-features.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-05-07 11:00:00 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-05-07 11:00:00 +0000
commit20de26ebf982c2645b724b126b103cc8629f51eb (patch)
tree001c4a35d6f4467cc2f0df3840009a2793e434a2 /newlib/libc/sys/linux/linuxthreads/kernel-features.h
parentfc3a3524b243956ad1c483a7436ddd37849ce2a9 (diff)
downloadcygnal-20de26ebf982c2645b724b126b103cc8629f51eb.tar.gz
cygnal-20de26ebf982c2645b724b126b103cc8629f51eb.tar.bz2
cygnal-20de26ebf982c2645b724b126b103cc8629f51eb.zip
* grp.cc (pwdgrp::parse_group): Set grp.len. Drop generating any
gr_mem entries. (getgrgid_r): Don't try to copy gr_mem entries. Always set gr_mem to an empty list. (getgrnam_r): Ditto. (app_gr): New static struct to store group data propagated to the calling application via getgrgid/getgrnam. (getgr_cp): Fill app_gr and return pointer to app_gr.g. (getgrgid32): Call getgr_cp. (getgrnam32): Ditto. * passwd.cc (pwdgrp::parse_passwd): Set res.len. (app_pw): New static struct to store passwd data propagated to the calling application via getpwuid/getpwnam. (getpw_cp): Fill app_pw and return pointer to app_pw.p. (getpwuid32): Cal getpw_cp. (getpwnam): Ditto. * pwdgrp.h (struct pg_pwd): Add len member. (struct pg_grp): Ditto.
Diffstat (limited to 'newlib/libc/sys/linux/linuxthreads/kernel-features.h')
0 files changed, 0 insertions, 0 deletions