On Fri, Feb 27, 2015 at 10:18:08AM -0800, John Johansen wrote: > On 02/27/2015 09:11 AM, Tyler Hicks wrote: > > On 2015-02-27 11:08:28, Tyler Hicks wrote: > >> I wanted to give you a quick update on what my plans are here. The code > >> that is being moved from the parser to libapparmor has calls to PERROR() > >> and PDEBUG(). Here's my thoughts on how to handle them in libapparmor: > >> > >> > >> * PDEBUG() > >> - Compiled out unless libapparmor is built with --enable-debug > >> - Prints to stderr if libapparmor is built with --enable-debug and > >> the LIBAPPARMOR_DEBUG environment variable is set > > > > One correction. To match the current PDEBUG() implementation in the > > parser, the libapparmor PDEBUG() would need to print to stdout instead > > of stderr. > > > stderr is the correct place, I am not sure why thate parser currently uses > stdout
I concur, that it currently emits debugging info to stdout instead of stderr is probably a bug. -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
