[Bug 1561330] Re: ps security data column includes AppArmor confinement mode in 16.04

John Johansen john.johansen at canonical.com
Wed Apr 6 22:21:18 UTC 2016


For the record it is this commit that made the change

https://gitlab.com/procps-
ng/procps/commit/5da390422d2b58902731655ddd12439126a051da

it was previously terminating the string when it hit the space before
the mode. Now it is using isprint(outbuf[len]) and space is a printable
character.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1561330

Title:
  ps security data column includes AppArmor confinement mode in 16.04

Status in procps package in Ubuntu:
  Won't Fix

Bug description:
  In Xenial, running linux 4.4.0-15-generic and procps
  2:3.3.10-4ubuntu2, I see that the security data column has changed to
  displaying the AppArmor confinement mode:

  $ ps wZ $(pidof cups-browsed)
  LABEL                             PID TTY      STAT   TIME COMMAND
  /usr/sbin/cups-browsed (enforce)  786 ?        Ssl    0:00 /usr/sbin/cups-browsed

  This is different than what is displayed in 15.10:

  $ ps wZ $(pidof cups-browsed)
  LABEL                             PID TTY      STAT   TIME COMMAND
  /usr/sbin/cups-browsed            548 ?        Ssl    0:00 /usr/sbin/cups-browsed

  There was a large AppArmor kernel change in Xenial's 4.4.0-15-generic
  so to rule that out, I booted into an earlier Xenial kernel and saw
  the same issue:

  $ uname -a
  Linux sec-xenial-i386 4.4.0-7-generic #22-Ubuntu SMP Thu Feb 18 20:50:09 UTC 2016 i686 i686 i686 GNU/Linux
  $ ps wZ $(pidof cups-browsed)
  LABEL                             PID TTY      STAT   TIME COMMAND
  /usr/sbin/cups-browsed (enforce)  631 ?        Ssl    0:00 /usr/sbin/cups-browsed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1561330/+subscriptions



More information about the foundations-bugs mailing list