Page 1 of 1

Using an "include" directory with 2.0

PostPosted: Thu May 13, 2004 4:31 pm
by ras
with grsec 1.9 you could put something like this in the acl to include a directory of other acls:

include </etc/grsec/acls>

This doesn't work with grsec 2.0. I'm wondering if there's a way to do it with 2.0

Thanks in advance for your time,

--jesse

Re: Using an "include" directory with 2.0

PostPosted: Tue May 25, 2004 2:41 pm
by hightower
ras wrote:with grsec 1.9 you could put something like this in the acl to include a directory of other acls:
include </etc/grsec/acls>
This doesn't work with grsec 2.0. I'm wondering if there's a way to do it with 2.0
Thanks in advance for your time,

Imho there's no way but I could be wrong (I wish I am wrong).

Brad?

ciao, Marc

Re: Using an "include" directory with 2.0

PostPosted: Tue May 25, 2004 6:24 pm
by PaX Team
ras wrote:with grsec 1.9 you could put something like this in the acl to include a directory of other acls:

include </etc/grsec/acls>
check the source code (gradm2/gradm.l), the add_include() function explicitly denies including directories, you should in fact have seen the error message when you tried it...