Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 64883 | Differences between
and this patch

Collapse All | Expand All

(-)gradm2.ORIG/gradm_adm.c (+4 lines)
Lines 102-107 Link Here
102
				 proc_object_mode_conv("r"), GR_FEXIST))
102
				 proc_object_mode_conv("r"), GR_FEXIST))
103
		exit(EXIT_FAILURE);
103
		exit(EXIT_FAILURE);
104
104
105
#ifndef __amd64__               /* Currently these are duplicates,
106
                                   although eventually they will be
107
                                   for 32-bit libraries. */
105
	if (!add_proc_object_acl(current_subject, "/lib",
108
	if (!add_proc_object_acl(current_subject, "/lib",
106
				 proc_object_mode_conv("rx"), GR_FEXIST))
109
				 proc_object_mode_conv("rx"), GR_FEXIST))
107
		exit(EXIT_FAILURE);
110
		exit(EXIT_FAILURE);
Lines 109-114 Link Here
109
	if (!add_proc_object_acl(current_subject, "/usr/lib",
112
	if (!add_proc_object_acl(current_subject, "/usr/lib",
110
				 proc_object_mode_conv("rx"), GR_FEXIST))
113
				 proc_object_mode_conv("rx"), GR_FEXIST))
111
		exit(EXIT_FAILURE);
114
		exit(EXIT_FAILURE);
115
#endif
112
116
113
	if (!add_proc_object_acl(current_subject, "/lib64",
117
	if (!add_proc_object_acl(current_subject, "/lib64",
114
				 proc_object_mode_conv("rx"), GR_FEXIST))
118
				 proc_object_mode_conv("rx"), GR_FEXIST))

Return to bug 64883