summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/mbtowc_r.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-03-23 16:37:49 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-03-23 16:37:49 +0000
commit0e0f5748e0aaeb910dc074bed7fa3509897e982a (patch)
tree09dcb80e9c73dc235e37107a3e5db9e1ae1ababb /newlib/libc/stdlib/mbtowc_r.c
parent7d2e8c04f21294840159ca8f7393eb713487f8a4 (diff)
downloadcygnal-0e0f5748e0aaeb910dc074bed7fa3509897e982a.tar.gz
cygnal-0e0f5748e0aaeb910dc074bed7fa3509897e982a.tar.bz2
cygnal-0e0f5748e0aaeb910dc074bed7fa3509897e982a.zip
* passwd.c (caller_is_admin): New function to test if calling user
is an administrator by inspecting user token. (main): Drop fetching caller info from logonserver. Only fetch server from environment when trying to change password for own account. Drop admin check entirely in case of doing account maintainance. Otherwise replace check for admin by result of caller_is_admin call.
Diffstat (limited to 'newlib/libc/stdlib/mbtowc_r.c')
0 files changed, 0 insertions, 0 deletions