Searched refs:newcon (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/selinux/
H A Dsetfiles.c271 char *newcon = NULL; local
277 i = match(my_file, &my_sb, &newcon);
311 printf("%s: %s matched by %s\n", applet_name, my_file, newcon);
324 user_only_changed = only_changed_user(context, newcon);
331 if ((strcmp(newcon, "<<none>>") == 0)
332 || (context && (strcmp(context, newcon) == 0) && !FLAG_F_force)) {
350 applet_name, my_file, context ?: "", newcon);
356 bb_info_msg("relabeling %s from %s to %s", my_file, context, newcon);
358 bb_info_msg("labeling %s to %s", my_file, newcon);
373 ret = lsetfilecon(my_file, newcon);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/
H A Dselinuxfs.c543 char *newcon; local
574 length = security_sid_to_context(newsid, &newcon, &len);
585 memcpy(buf, newcon, len);
588 kfree(newcon);
602 char *newcon; local
633 length = security_sid_to_context(newsid, &newcon, &len);
642 memcpy(buf, newcon, len);
645 kfree(newcon);
658 char *newcon; local
690 rc = security_sid_to_context(sids[i], &newcon,
720 char *newcon; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/dlm/
H A Dlowcomms.c653 struct connection *newcon; local
699 newcon = nodeid2con(nodeid, GFP_KERNEL);
700 if (!newcon) {
704 mutex_lock_nested(&newcon->sock_mutex, 1);
705 if (newcon->sock) {
706 struct connection *othercon = newcon->othercon;
712 mutex_unlock(&newcon->sock_mutex);
722 newcon->othercon = othercon;
730 newsock->sk->sk_user_data = newcon;
731 newcon
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/ss/
H A Dservices.c1936 struct context newcon; local
1946 context_init(&newcon);
1965 newcon.user = context1->user;
1966 newcon.role = context1->role;
1967 newcon.type = context1->type;
1968 rc = mls_context_cpy(&newcon, context2);
1973 if (!policydb_context_isvalid(&policydb, &newcon)) {
1974 rc = convert_context_handle_invalid_context(&newcon);
1979 rc = sidtab_context_to_sid(&sidtab, &newcon, new_sid);
1983 if (!context_struct_to_string(&newcon,
[all...]

Completed in 120 milliseconds