[systemd-devel] [PATCH] util: preserve get_process_capeff behavior

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Sep 17 16:39:50 PDT 2013


On Tue, Sep 17, 2013 at 03:48:46PM -0700, Shawn Landden wrote:
> 69ab80881552d5f79ca95f6b3be48ad122ab1ec2 tried to unify
> parsing of status files, but removed the logic of skipping
> extra '0's when getting the effective capabilities. Restore
> that logic.
Oh, I removed the logic on purpose, because I didn't know what
it was for. I applied a different fix now, which is a bit hacky,
but simplifies our hot path a bit. I've also added some comments
to make it clearer why 0's are skipped.

Zbyszek


More information about the systemd-devel mailing list