]> Zhao Yanbai Git Server - minix.git/commit
libsys: retire getnucred in favor of getepinfo 26/3426/1
authorDavid van Moolenbroek <david@minix3.org>
Wed, 27 Jan 2016 23:24:56 +0000 (23:24 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 9 Mar 2017 23:39:54 +0000 (23:39 +0000)
commit462713495a372174ead432b3f482801bef47474a
tree2bffb3453967c71642aa82ff8abb31821fbaba1d
parentdd9696713548dbfd291c039366f7718a3249491f
libsys: retire getnucred in favor of getepinfo

The getnucred() function was used by UDS to obtain credentials of user
processes in a form used in the UDS API, namely the ucred structure.
Since the NetBSD merge, this structure has changed drastically (aside
from being renamed to "uucred"), and it is no longer in UDS's best
interest to use this structure internally.  Therefore, getnucred() is
no longer a useful API either, and instead we directly use the
previously private getepinfo() function to obtain credentials.

Change-Id: I80bc809de716ec0a9b7497cb109d2f2708a629d5
distrib/sets/lists/minix-man/mi
minix/include/minix/syslib.h
minix/lib/libsys/getepinfo.c
minix/man/man2/Makefile
minix/man/man2/getnucred.2 [deleted file]
minix/net/uds/ioc_uds.c
minix/net/uds/uds.h
minix/tests/test56.c
sys/sys/ucred.h