--- Stephen Smalley <sds@tycho.nsa.gov> wrote:Woof. It weren't pretty, and I've carefully archived it so as to make it hard to go back to for that very reason. Maybe someday. The ss interface provides no advantage over the LSM interface that I can see. Which is the same for LSM. There are a bunch of LSM hooks that Smack does not need, and going into SELinux code to choose to do nothing is pretty pointless. The image that just flashed into my brain had a disturbing similarity to STREAMS modules, but spread everywhere, not just in the tty code. And anyone who thinks that there are too many LSM hooks now would have kittens over this. I don't think it's a bad idea, but I don't see how it would change the well documented disputes regarding what kinds of security behavior it ought to provide for. How would it help AppArmor, for example? I'm willing to bet (a beer or equivalence) that anything that helped there would face stiff resistance simply because it helped there. I could see it working if you restricted the interface to dealing with things that have security blobs, or even better to subjects and objects. But that's my security mindset, and I think pretty much yours, too. It's the policies that don't use good old fashioned OrangeBook concepts that have issue, not SELinux or Smack. Smack uses text strings for labels. It's amazing how many of the API issues evaporate when the only thing you have to do with your labels is compare them and print them. With the labels for processes available through /proc, and the labels for most things available via getxattr(2) and its variants the API issue seems hard to get worked up about. If ls(1) had an option to show selected extended attributes, and it really should by now, it wouldn't require fixing at all. Now sshd, login, and the rest of the authentification gaggle are going to need policy specific behavior so I feel no serious need to provide common API there. Smack is designed to make this easy because I had to do it the hard way before and didn't like it much. Casey Schaufler casey@schaufler-ca.com -
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Glauber de Oliveira Costa | [PATCH 0/19] desc_struct integration |
| Paolo Ornati | Re: [patch 00/69] -stable review |
| Ingo Molnar | [patch] CFS scheduler, -v6 |
git: | |
| Denis Bueno | git-instaweb portability issue (maybe?) |
| Jon Smirl | Re: Inconsistencies with git log |
| Johannes Schindelin | Re: [PATCH] Fix premature call to git_config() causing t1020-subdirectory to fail |
| Dan Farina | backup or mirror a repository |
| Marc Espie | Re: That whole "Linux stealing our code" thing |
| Ray Percival | Re: Real men don't attack straw men |
| askthelist | Packets Per Second Limit? |
| Didier Wiroth | how can I "find xyz | xargs tar" ... like gtar |
| Marcel Holtmann | Bluetooth fixes for 2.6.27 |
| Giacomo A. Catenazzi | Re: [BUG] New Kernel Bugs |
| Tilman Schmidt | Re: 2.6.25-rc8: FTP transfer errors |
| Ingo Oeser | Re: [PATCH]: Third (final?) release of Sun Neptune driver |
| high memory | 10 hours ago | Linux kernel |
| semaphore access speed | 13 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 14 hours ago | Linux kernel |
| Easter Eggs in windows XP | 16 hours ago | Windows |
| Shared swap partition | 17 hours ago | Linux general |
| Root password | 18 hours ago | Linux general |
| Where/when DNOTIFY is used? | 19 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 22 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 22 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
