Re: Cleaning up semanage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 12, 2012 at 10:03 PM, Dave Quigley <selinux@xxxxxxxxxxxxxxx> wrote:
> I'm actually going to try to pull together just the parsers without any
> backend functionality to see how feasible this is and how it looks. If we
> like how it looks and its possible we can move forward with it. I think that
> since --ftype is a longarg that argparse might be able to handle it. If not
> then some manipulation of things might be in order (like making an = between
> --ftype and the -d).

Note that --ftype can be also written as -f. So, really, if you want
to be fully backwards-compatible, you'll need to correctly parse the
following:

semanage fcontext -d -f -d /some/dir

--
Konstantin Ryabitsev
LinuxFoundation.org
Montréal, Québec
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux