aboutsummaryrefslogtreecommitdiff
path: root/lib/libsbuf/Version.def
diff options
context:
space:
mode:
authorEric van Gyzen <vangyzen@FreeBSD.org>2017-05-28 00:45:28 +0000
committerEric van Gyzen <vangyzen@FreeBSD.org>2017-05-28 00:45:28 +0000
commitc9d34d6652b68fcde24491b062ac5e76a9b5dbac (patch)
tree78b876f10ddfab289fbd9bc96fa17237a3e80b71 /lib/libsbuf/Version.def
parent4f2bab59e7fbac3816953ef4d1d92af8f2daa379 (diff)
downloadsrc-c9d34d6652b68fcde24491b062ac5e76a9b5dbac.tar.gz
src-c9d34d6652b68fcde24491b062ac5e76a9b5dbac.zip
Fix INSTALL_AS_USER with external nsswitch databases
The INSTALL_AS_USER option tells "install" to use the current user name as the owner of the installed file. The "install" command executed by the build is statically linked, so it does not load nsswitch modules, such as nss_ldap.so, so it fails when the user is only defined in such a database. Fix it to use the current UID instead of user name. This works for all users. I expect it is also slightly more efficient. Reviewed by: sjg MFC after: 3 days Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D10862
Notes
Notes: svn path=/head/; revision=319022
Diffstat (limited to 'lib/libsbuf/Version.def')
0 files changed, 0 insertions, 0 deletions