summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/gen/getusershell.c
diff options
context:
space:
mode:
authorCasper H.S. Dik <Casper.Dik@Sun.COM>2010-04-28 10:01:37 +0200
committerCasper H.S. Dik <Casper.Dik@Sun.COM>2010-04-28 10:01:37 +0200
commit134a1f4e3289b54e0f980e9cf05352e419a60bee (patch)
tree792d1e39f7d9299df1f67c1681a02daa1b734878 /usr/src/lib/libc/port/gen/getusershell.c
parent2e98bdabdfa935eb368c090f1cecbba5619c88ee (diff)
downloadillumos-gate-134a1f4e3289b54e0f980e9cf05352e419a60bee.tar.gz
PSARC 2009/377 In-kernel pfexec implementation.
PSARC 2009/378 Basic File Privileges PSARC 2010/072 RBAC update: user attrs from profiles 4912090 pfzsh(1) should exist 4912093 pfbash(1) should exist 4912096 pftcsh(1) should exist 6440298 Expand the basic privilege set in order to restrict file access 6859862 Move pfexec into the kernel 6919171 cred_t sidesteps kmem_debug; we need to be able to detect bad hold/free when they occur 6923721 The new SYS_SMB privilege is not backward compatible 6937562 autofs doesn't remove its door when the zone shuts down 6937727 Zones stuck on deathrow; netstack_zone keeps a credential reference to the zone 6940159 Implement PSARC 2010/072
Diffstat (limited to 'usr/src/lib/libc/port/gen/getusershell.c')
-rw-r--r--usr/src/lib/libc/port/gen/getusershell.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/usr/src/lib/libc/port/gen/getusershell.c b/usr/src/lib/libc/port/gen/getusershell.c
index 368fa72a61..df10f2f6fd 100644
--- a/usr/src/lib/libc/port/gen/getusershell.c
+++ b/usr/src/lib/libc/port/gen/getusershell.c
@@ -1,6 +1,5 @@
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -12,8 +11,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include "lint.h"
#include <sys/types.h>
#include <sys/param.h>
@@ -56,16 +53,25 @@ const char *okshells[] = {
"/usr/bin/pfsh",
"/usr/bin/pfcsh",
"/usr/bin/pfksh",
+ "/usr/bin/pfksh93",
"/usr/bin/bash",
"/usr/bin/tcsh",
"/usr/bin/zsh",
+ "/usr/bin/pfbash",
+ "/usr/bin/pftcsh",
+ "/usr/bin/pfzsh",
"/bin/pfsh",
"/bin/pfcsh",
"/bin/pfksh",
+ "/bin/pfksh93",
"/bin/bash",
"/bin/tcsh",
"/bin/zsh",
+ "/bin/pfbash",
+ "/bin/pftcsh",
+ "/bin/pfzsh",
"/usr/xpg4/bin/sh",
+ "/usr/xpg4/bin/pfsh",
"/sbin/pfsh",
"/usr/sfw/bin/zsh",
NULL