Home
last modified time | relevance | path

Searched refs:cmndlist (Results 1 – 14 of 14) sorted by relevance

/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/
H A Dfmtsudoers_cvt.c62 TAILQ_FOREACH(cs, &priv->cmndlist, entries) { in sudoers_format_privilege()
64 if (cs != TAILQ_FIRST(&priv->cmndlist)) in sudoers_format_privilege()
87 } else if (cs != TAILQ_FIRST(&priv->cmndlist)) { in sudoers_format_privilege()
H A Dparse_ldif.c435 TAILQ_FIRST(&prev_priv->cmndlist)->runasuserlist; in role_to_sudoers()
437 TAILQ_FIRST(&prev_priv->cmndlist)->runasgrouplist; in role_to_sudoers()
438 struct cmndspec *cmndspec = TAILQ_FIRST(&priv->cmndlist); in role_to_sudoers()
451 TAILQ_FOREACH(cmndspec, &priv->cmndlist, entries) { in role_to_sudoers()
456 TAILQ_CONCAT(&prev_priv->cmndlist, &priv->cmndlist, entries); in role_to_sudoers()
H A Dparse.c82 TAILQ_FOREACH(cs, &priv->cmndlist, entries) { in sudoers_lookup_pseudo()
140 TAILQ_FOREACH_REVERSE(cs, &priv->cmndlist, cmndspec_list, entries) { in sudoers_lookup_check()
446 TAILQ_FOREACH(cs, &priv->cmndlist, entries) { in display_priv_short()
451 if (cs != TAILQ_FIRST(&priv->cmndlist)) in display_priv_short()
476 } else if (cs != TAILQ_FIRST(&priv->cmndlist)) { in display_priv_short()
541 TAILQ_FOREACH(cs, &priv->cmndlist, entries) { in display_priv_long()
914 TAILQ_FOREACH_REVERSE(cs, &priv->cmndlist, cmndspec_list, entries) { in display_cmnd_check()
H A Dldap_util.c370 TAILQ_INIT(&priv->cmndlist); in sudo_ldap_role_to_priv()
423 TAILQ_INSERT_TAIL(&priv->cmndlist, cmndspec, entries); in sudo_ldap_role_to_priv()
608 TAILQ_CONCAT(&priv->cmndlist, &negated_cmnds, entries); in sudo_ldap_role_to_priv()
616 TAILQ_CONCAT(&priv->cmndlist, &negated_cmnds, entries); in sudo_ldap_role_to_priv()
H A Dgram.y163 %type <member> cmndlist
264 | DEFAULTS_CMND cmndlist defaults_list '\n' {
369 HLTQ_TO_TAILQ(&p->cmndlist, $3, entries);
986 } '=' cmndlist {
995 | reserved_alias '=' cmndlist
998 cmndlist : digcmnd
999 | cmndlist ',' digcmnd {
1553 free_cmndspecs(&priv->cmndlist); in free_privilege()
H A Dcheck_aliases.c114 TAILQ_FOREACH(cs, &priv->cmndlist, entries) { in check_aliases()
H A Dalias.c340 TAILQ_FOREACH(cs, &priv->cmndlist, entries) { in alias_find_used()
H A Dparse.h201 struct cmndspec_list cmndlist; /* list of Cmnd_Specs */ member
H A Dtestsudoers.c330 TAILQ_FOREACH_REVERSE(cs, &priv->cmndlist, cmndspec_list, entries) { in main()
H A Dcvtsudoers_ldif.c607 TAILQ_FOREACH_SAFE(cs, &priv->cmndlist, entries, next) { in print_userspec_ldif()
H A Dcvtsudoers_json.c831 TAILQ_FOREACH_SAFE(cs, &priv->cmndlist, entries, next) { in print_userspec_json()
H A Dgram.c1936 HLTQ_TO_TAILQ(&p->cmndlist, (yyvsp[0].cmndspec), entries); in yyparse()
3721 free_cmndspecs(&priv->cmndlist); in free_privilege()
H A Dcvtsudoers.c997 TAILQ_FOREACH_SAFE(cs, &priv->cmndlist, entries, cs_next) { in alias_used_by_userspecs()
/dports/security/sudo/sudo-1.9.8p2/
H A DChangeLog47139 Each entry in a cmndlist now has an associated runaslist so no need