login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
4
Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Pavel Machek <pavel@...>
To: Ahmed S. Darwish <darwish.07@...>
Cc: Casey Schaufler <casey@...>, <akpm@...>, <torvalds@...>, <linux-security-module@...>, <linux-kernel@...>
Subject:
Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
Date: Sunday, November 4, 2007 - 8:28 am
Hi!
quoted text
> > Still to come: > > > > - Final cleanup of smack_load_write and smack_cipso_write. > > Hi All, > > After agreeing with Casey on the "load" input grammar yesterday, here's > the final grammar and its parser (which needs more testing): > > A Smack Rule in an "egrep" format is: > > "^[:space:]*Subject[:space:]+Object[:space:]+[rwxaRWXA-]+[:space:]*\n" > > where Subject/Object strings are in the form: > > "^[^/[:space:][:cntrl:]]{1,SMK_MAXLEN}$"
Can we avoid string parsers in the kernel?
quoted text
> +static inline int isblank(char c) > +{ > + return (c == ' ' || c == '\t'); > +}
This sounds like enough for 'NAK'. Pavel, who still thinks smack rules should be parsed in userspace and compiled into selinux rules... -- (english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Version 10 (2.6.24-rc1) Smack: Simplified Mandatory ...
, Casey Schaufler
, (Fri Nov 2, 4:50 pm)
[PATCH] Smackv10: Smack rules grammar + their stateful parser
, Ahmed S. Darwish
, (Sat Nov 3, 12:43 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 2:33 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Kyle Moffett
, (Tue Nov 6, 4:26 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 4:56 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Tue Nov 6, 7:34 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 7:47 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Tue Nov 6, 8:23 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Kyle Moffett
, (Tue Nov 6, 8:49 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Linus Torvalds
, (Tue Nov 6, 11:53 am)
[PATCH] Fix isspace() and other ctype.h functions to ignore ...
, Kyle Moffett
, (Wed Nov 7, 6:56 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 9:34 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Tue Nov 6, 10:05 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 10:10 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Tue Nov 6, 10:30 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Alan Cox
, (Tue Nov 6, 7:02 am)
[PATCH] Smackv10: Smack rules grammar + their stateful parse...
, Ahmed S. Darwish
, (Sun Nov 4, 8:56 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Pavel Machek
, (Sun Nov 11, 8:44 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Sun Nov 11, 2:37 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Jakob Oestergaard
, (Sat Nov 10, 1:05 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Sat Nov 10, 3:45 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Sun Nov 4, 4:06 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Pavel Machek
, (Sun Nov 4, 8:28 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Mon Nov 5, 5:41 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Linus Torvalds
, (Mon Nov 5, 12:21 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 4:06 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Linus Torvalds
, (Tue Nov 6, 11:39 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 7:00 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Linus Torvalds
, (Tue Nov 6, 7:08 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 8:07 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Linus Torvalds
, (Tue Nov 6, 8:27 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 8:43 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Linus Torvalds
, (Tue Nov 6, 9:06 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 9:59 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Alan Cox
, (Wed Nov 7, 11:08 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Linus Torvalds
, (Wed Nov 7, 12:09 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Tetsuo Handa
, (Tue Nov 6, 9:03 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Mon Nov 5, 7:38 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Tetsuo Handa
, (Mon Nov 5, 5:56 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 6:00 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Tetsuo Handa
, (Tue Nov 6, 8:27 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 9:58 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Tetsuo Handa
, (Tue Nov 6, 10:32 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 10:59 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Tetsuo Handa
, (Tue Nov 6, 11:27 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Adrian Bunk
, (Tue Nov 6, 6:42 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Sun Nov 4, 9:23 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Casey Schaufler
, (Sun Nov 4, 12:37 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Kyle Moffett
, (Sat Nov 3, 2:30 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p...
, Ahmed S. Darwish
, (Sat Nov 3, 6:12 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
David Miller
Re: [RFC/PATCH] Documentation of kernel messages
Rafael J. Wysocki
Re: linux-next: Tree for June 13: IO APIC breakage on HP nx6325
git
:
linux-netdev
:
Josip Rodin
bnx2_poll panicking kernel
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
815 guests
online.
Syndicate