svn commit: r336840 - in head: etc lib/libc/gen
Brad Davis
brd at FreeBSD.org
Sat Jul 28 20:21:24 UTC 2018
Author: brd
Date: Sat Jul 28 20:21:23 2018
New Revision: 336840
URL: https://svnweb.freebsd.org/changeset/base/336840
Log:
Move etc/shells to lib/libc/gen with getusershell(3).
Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16467
Added:
head/lib/libc/gen/shells
- copied unchanged from r336839, head/etc/shells
Deleted:
head/etc/shells
Modified:
head/etc/Makefile
head/lib/libc/gen/Makefile.inc
Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile Sat Jul 28 20:21:04 2018 (r336839)
+++ head/etc/Makefile Sat Jul 28 20:21:23 2018 (r336840)
@@ -47,7 +47,6 @@ BIN1= crontab \
remote \
rpc \
services \
- shells \
sysctl.conf \
syslog.conf \
termcap.small
Modified: head/lib/libc/gen/Makefile.inc
==============================================================================
--- head/lib/libc/gen/Makefile.inc Sat Jul 28 20:21:04 2018 (r336839)
+++ head/lib/libc/gen/Makefile.inc Sat Jul 28 20:21:23 2018 (r336840)
@@ -4,6 +4,8 @@
# machine-independent gen sources
.PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/gen ${LIBC_SRCTOP}/gen
+CONFS= shells
+
SRCS+= __getosreldate.c \
__pthread_mutex_init_calloc_cb_stub.c \
__xuname.c \
Copied: head/lib/libc/gen/shells (from r336839, head/etc/shells)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libc/gen/shells Sat Jul 28 20:21:23 2018 (r336840, copy of r336839, head/etc/shells)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+#
+# List of acceptable shells for chpass(1).
+# Ftpd will not allow users to connect who are not using
+# one of these shells.
+
+/bin/sh
+/bin/csh
+/bin/tcsh
More information about the svn-src-all
mailing list