Messages in this thread | | | Date | Mon, 29 Nov 2004 10:41:47 -0500 (EST) | From | James Morris <> | Subject | Re: [2.6 patch] selinux: possible cleanups |
| |
On Sun, 28 Nov 2004, Adrian Bunk wrote:
> The patch below contains the following possible cleanups: > - make needlessly global code static > - remove the following unused global functions: > - avc.c: avc_ss_grant > - avc.c: avc_ss_try_revoke > - avc.c: avc_ss_revoke > - avc.c: avc_ss_set_auditallow > - avc.c: avc_ss_set_auditdeny > - ss/avtab.c: avtab_map > - ss/ebitmap.c: ebitmap_or > - ss/hashtab.c: hashtab_remove > - ss/hashtab.c: hashtab_replace > - ss/hashtab.c: hashtab_map_remove_on_error > - ss/services.c: security_member_sid > - ss/sidtab.c: sidtab_remove > - remove the following unused static functions: > - avc.c: avc_update_cache > - avc.c: avc_control >
I think these functions were going to be left in for possible future use, but it's probably better to remove them and add them back only if necessary.
- James -- James Morris <jmorris@redhat.com>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |