Home
last modified time | relevance | path

Searched refs:new_string (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/security/mac_ipacl/
H A Dmac_ipacl.c272 char *string, *copy_string, *new_string; in sysctl_rules() local
276 new_string = NULL; in sysctl_rules()
278 new_string = malloc(MAC_RULE_STRING_LEN, M_IPACL, in sysctl_rules()
281 strcpy(new_string, rule_string); in sysctl_rules()
283 string = new_string; in sysctl_rules()
308 if (new_string != NULL) in sysctl_rules()
309 free(new_string, M_IPACL); in sysctl_rules()
/freebsd/sys/security/mac_portacl/
H A Dmac_portacl.c330 char *string, *copy_string, *new_string; in sysctl_rules() local
334 new_string = NULL; in sysctl_rules()
336 new_string = malloc(MAC_RULE_STRING_LEN, M_PORTACL, in sysctl_rules()
339 strcpy(new_string, rule_string); in sysctl_rules()
341 string = new_string; in sysctl_rules()
366 if (new_string != NULL) in sysctl_rules()
367 free(new_string, M_PORTACL); in sysctl_rules()