Home
last modified time | relevance | path

Searched refs:limitprivs (Results 1 – 18 of 18) sorted by relevance

/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/
H A Dgram.y452 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 Dldap_util.c447 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 Dparse.c263 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 Dcvtsudoers_ldif.c460 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 Dfmtsudoers.c224 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 Dgram.c2054 (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 Dcvtsudoers_json.c577 && 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 Dsudoers.h116 char *limitprivs; member
250 #define runas_limitprivs (sudo_user.limitprivs)
H A Dparse.h151 char *privs, *limitprivs; /* Solaris privilege sets */ member
234 char *privs, *limitprivs; /* Solaris privilege sets */ member
H A Ddef_data.in268 limitprivs
/dports/security/sudo/sudo-1.9.8p2/src/
H A Dexec.c100 if (details->limitprivs != NULL) { in exec_setup()
101 if (setppriv(PRIV_SET, PRIV_LIMIT, details->limitprivs) != 0) { in exec_setup()
H A Dsudo.h177 priv_set_t *limitprivs; member
H A Dsudo.c815 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 Dfuzz_sudoers.dict147 "limitprivs"
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/regress/sudoers/
H A Dtest26.in83 #Defaults limitprivs
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/po/
H A Dda.po1080 # https://www.sudo.ws/man/1.8.21/sudoers.man.html (se limitprivs)
/dports/security/sudo/sudo-1.9.8p2/
H A DNEWS1058 role, type, privs and limitprivs sudoOptions. This also affected
H A DChangeLog3225 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