7 May
2013
7 May
'13
3:45 a.m.
On 05/03/2013 02:07 PM, Osier Yang wrote:
To not introduce more redundant code, helpers are added for both "selinux", "dac", and "apparmor" backends.
Signed-off-by: Han Cheng <hanc.fnst@cn.fujitsu.com> Signed-off-by: Osier Yang <jyang@redhat>
v2.5 - v3: * Splitted from 8/10 of v2.5 * Don't forget the other backends (DAC, and apparmor) --- src/security/security_apparmor.c | 49 +++++++++++++++++--------- src/security/security_dac.c | 76 +++++++++++++++++++++++++++++++++------- src/security/security_selinux.c | 72 ++++++++++++++++++++++++++++++------- 3 files changed, 156 insertions(+), 41 deletions(-)
From a code motion and reuse, things seem reasonable to me.
John