Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 477736 Details for
Bug 622552
[PATCH] all kernels: apparmor/Makefile use non POSIX shell sintax
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make apparmor/Makefile POSIX friendly
file_622552.txt (text/plain), 1.12 KB, created by
Alessandro Barbieri
on 2017-06-23 20:35:12 UTC
(
hide
)
Description:
make apparmor/Makefile POSIX friendly
Filename:
MIME Type:
Creator:
Alessandro Barbieri
Created:
2017-06-23 20:35:12 UTC
Size:
1.12 KB
patch
obsolete
>diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile >index d693df8..8f575d1 100644 >--- a/security/apparmor/Makefile >+++ b/security/apparmor/Makefile >@@ -20,7 +20,7 @@ cmd_make-caps = echo "static const char *const capability_names[] = {" > $@ ;\ > sed $< >>$@ -r -n -e '/CAP_FS_MASK/d' \ > -e 's/^\#define[ \t]+CAP_([A-Z0-9_]+)[ \t]+([0-9]+)/[\2] = "\L\1",/p';\ > echo "};" >> $@ ;\ >- echo -n '\#define AA_FS_CAPS_MASK "' >> $@ ;\ >+ printf '%s' '\#define AA_FS_CAPS_MASK "' >> $@ ;\ > sed $< -r -n -e '/CAP_FS_MASK/d' \ > -e 's/^\#define[ \t]+CAP_([A-Z0-9_]+)[ \t]+([0-9]+)/\L\1/p' | \ > tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@ >@@ -56,7 +56,7 @@ cmd_make-rlim = echo "static const char *const rlim_names[RLIM_NLIMITS] = {" \ > echo "static const int rlim_map[RLIM_NLIMITS] = {" >> $@ ;\ > sed -r -n "s/^\# ?define[ \t]+(RLIMIT_[A-Z0-9_]+).*/\1,/p" $< >> $@ ;\ > echo "};" >> $@ ; \ >- echo -n '\#define AA_FS_RLIMIT_MASK "' >> $@ ;\ >+ printf '%s' '\#define AA_FS_RLIMIT_MASK "' >> $@ ;\ > sed -r -n 's/^\# ?define[ \t]+RLIMIT_([A-Z0-9_]+).*/\L\1/p' $< | \ > tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 622552
: 477736