apparmor/apparmor-unconfined-lang-r2094.diff
Christian Boltz 568a5c7083 Accepting request 199886 from home:cboltz
- add apparmor-fix-url-in-manpages-r2093.diff: fix URL in manpages 
- add apparmor-unconfined-lang-r2094.diff: fix aa-unconfined to work
  in all languages

Please also forward those fixes to 13.1

OBS-URL: https://build.opensuse.org/request/show/199886
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=49
2013-09-20 20:54:16 +00:00

14 lines
417 B
Diff

=== modified file 'utils/aa-unconfined'
--- utils/aa-unconfined 2011-01-13 21:58:26 +0000
+++ utils/aa-unconfined 2013-09-19 21:31:28 +0000
@@ -60,7 +60,7 @@
@pids = grep { /^\d+$/ } readdir(PROC);
closedir(PROC);
} else {
- if (open(NETSTAT, "/bin/netstat -nlp |")) {
+ if (open(NETSTAT, "LANG=C /bin/netstat -nlp |")) {
while (<NETSTAT>) {
chomp;
push @pids, $5