coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cp caching


From: Pádraig Brady
Subject: Re: [PATCH] cp caching
Date: Thu, 03 Jan 2013 13:15:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 01/03/2013 11:28 AM, Ondrej Oprala wrote:
Hi,
I'd like to propose a patch based on this bugzilla 
https://bugzilla.redhat.com/show_bug.cgi?id=806055 .
Since it doesn't add any new functionality or fix incorrect behaviour, I assume 
there's no need for another test or a NEWS entry.

This makes sense. It might be worth a news entry,
especially if you quantified the perf benefit.

The code looks a bit fishy, mixing security_context_t and char*.
I've seen other SELinux code do that, so I guess it's OK.
I did notice the selinux_file_context_cmp() call, but that
has the additional functionality of ignoring the "insignificant"
user component, but I don't think we want that.

It's a bit strange that this caching is not done within libselinux,
since getfscreatecon() is provided.

thanks,
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]