/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/ |
H A D | gram.y | 452 if ($3->privs == NULL && $3->limitprivs == NULL) { 454 $3->limitprivs = prev->limitprivs; 538 cs->limitprivs = $2.limitprivs; 850 parser_leak_remove(LEAK_PTR, $$.limitprivs); 851 free($$.limitprivs); 852 $$.limitprivs = $2; 1487 char *privs = NULL, *limitprivs = NULL; in free_cmndspecs() local 1521 if (cs->limitprivs != limitprivs) { in free_cmndspecs() 1522 limitprivs = cs->limitprivs; in free_cmndspecs() 1523 free(cs->limitprivs); in free_cmndspecs() [all …]
|
H A D | ldap_util.c | 447 cmndspec->limitprivs = prev_cmndspec->limitprivs; in sudo_ldap_role_to_priv() 542 if (cmndspec->limitprivs != NULL) { in sudo_ldap_role_to_priv() 543 free(cmndspec->limitprivs); in sudo_ldap_role_to_priv() 547 if ((cmndspec->limitprivs = strdup(val)) == NULL) in sudo_ldap_role_to_priv()
|
H A D | parse.c | 263 if (cs->limitprivs != NULL) { in apply_cmndspec() 264 runas_limitprivs = strdup(cs->limitprivs); in apply_cmndspec() 505 … if (cs->limitprivs && (!prev_cs->limitprivs || strcmp(cs->limitprivs, prev_cs->limitprivs) != 0)) in new_long_entry() 605 if (cs->limitprivs) in display_priv_long() 606 sudo_lbuf_append(lbuf, " Limitprivs: %s\n", cs->limitprivs); in display_priv_long()
|
H A D | cvtsudoers_ldif.c | 460 if (cs->privs != NULL || cs->limitprivs != NULL) { in print_cmndspec_ldif() 469 if (cs->limitprivs != NULL) { in print_cmndspec_ldif() 470 if (asprintf(&attr_val, "limitprivs=%s", cs->limitprivs) == -1) { in print_cmndspec_ldif() 491 || cs->privs != next->privs || cs->limitprivs != next->limitprivs in print_cmndspec_ldif()
|
H A D | fmtsudoers.c | 224 if (cs->limitprivs != NULL && FIELD_CHANGED(prev_cs, cs, limitprivs)) in sudoers_format_cmndspec() 225 sudo_lbuf_append(lbuf, "LIMITPRIVS=\"%s\" ", cs->limitprivs); in sudoers_format_cmndspec()
|
H A D | gram.c | 2054 (yyvsp[0].cmndspec)->limitprivs = prev->limitprivs; in yyparse() 2141 cs->limitprivs = (yyvsp[-2].options).limitprivs; in yyparse() 2142 parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).limitprivs); in yyparse() 2648 parser_leak_remove(LEAK_PTR, (yyval.options).limitprivs); in yyparse() 2649 free((yyval.options).limitprivs); in yyparse() 2650 (yyval.options).limitprivs = (yyvsp[0].string); in yyparse() 3655 char *privs = NULL, *limitprivs = NULL; in free_cmndspecs() local 3689 if (cs->limitprivs != limitprivs) { in free_cmndspecs() 3690 limitprivs = cs->limitprivs; in free_cmndspecs() 3691 free(cs->limitprivs); in free_cmndspecs() [all …]
|
H A D | cvtsudoers_json.c | 577 && cs->privs == next->privs && cs->limitprivs == next->limitprivs in cmndspec_continues() 752 if (cs->privs != NULL || cs->limitprivs != NULL) { in print_cmndspec_json() 759 if (cs->limitprivs != NULL) { in print_cmndspec_json() 760 value.u.string = cs->limitprivs; in print_cmndspec_json()
|
H A D | sudoers.h | 116 char *limitprivs; member 250 #define runas_limitprivs (sudo_user.limitprivs)
|
H A D | parse.h | 151 char *privs, *limitprivs; /* Solaris privilege sets */ member 234 char *privs, *limitprivs; /* Solaris privilege sets */ member
|
H A D | def_data.in | 268 limitprivs
|
/dports/security/sudo/sudo-1.9.8p2/src/ |
H A D | exec.c | 100 if (details->limitprivs != NULL) { in exec_setup() 101 if (setppriv(PRIV_SET, PRIV_LIMIT, details->limitprivs) != 0) { in exec_setup()
|
H A D | sudo.h | 177 priv_set_t *limitprivs; member
|
H A D | sudo.c | 815 details->limitprivs = priv_str_to_set(cp, ",", &endp); in command_info_to_details() 816 if (details->limitprivs == NULL) in command_info_to_details()
|
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/regress/fuzz/ |
H A D | fuzz_sudoers.dict | 147 "limitprivs"
|
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/regress/sudoers/ |
H A D | test26.in | 83 #Defaults limitprivs
|
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/po/ |
H A D | da.po | 1080 # https://www.sudo.ws/man/1.8.21/sudoers.man.html (se limitprivs)
|
/dports/security/sudo/sudo-1.9.8p2/ |
H A D | NEWS | 1058 role, type, privs and limitprivs sudoOptions. This also affected
|
H A D | ChangeLog | 3225 Don't print a NULL as a string if role/type/privs/limitprivs is not 13363 parsing command_timeout, role, type, privs and limitprivs, check
|