openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/shadow/4.6-r0/shadow-4.6/src/chsh.c
static bool is_restricted_shell(const char* sh)
{
    /*
     * Shells not listed in /etc/shells are considered to be restricted.
     * Changed this to avoid confusion with "rc" (the plan9 shell - not
     * restricted despite the name starting with 'r').  --marekm
     */
    return !shell_is_listed(sh);
}
/*
 * is_restricted_shell - return true if the shell is restricted
 *
 */
return true if the shell is restricted
return true if the shell is restricted
static bool is_restricted_shell(const char* sh)
{
    return !shell_is_listed(sh);
}
static bool is_restricted_shell ( const char * sh ) { return ! shell_is_listed ( sh ) ; }
is_restricted_shell - return true if the shell is restricted
is_restricted_shell - return true if the shell is restricted
/*
     * Shells not listed in /etc/shells are considered to be restricted.
     * Changed this to avoid confusion with "rc" (the plan9 shell - not
     * restricted despite the name starting with 'r').  --marekm
     */