Skip to contentSkip to conversation

little ubac patch

refpolicy Russell Coker 2 participants 4 messages Jun 28, 2010

lore
Share & tools
lore
#0 lore raw

I've attached a little patch for UBAC. Firstly it allows unconfined_u the same rights to override UBAC controls as system_u - if you want a UBAC confined identity then you can use one of the others. unconfined remains unconfined. Given the lack of use of UBAC this probably doesn't make any difference to anyone. I'm leaving it in the Debian source tree though to make things easier for anyone who does decide to do a UBAC policy build, and I think it should be upstream for the same reason.

Also the patch allows the unconfined_u identity access to the system_r role. This permits restarting daemons that run in the system_r role without using run_init.

Signature · 10 lines
russell at coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubac.diff
Type: text/x-patch
Size: 809 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100628/8cc4724b/attachment.bin 
#1 lore raw
Quoted 11 lines · Russell Coker

I've attached a little patch for UBAC. Firstly it allows unconfined_u the same rights to override UBAC controls as system_u - if you want a UBAC confined identity then you can use one of the others. unconfined remains unconfined. Given the lack of use of UBAC this probably doesn't make any difference to anyone. I'm leaving it in the Debian source tree though to make things easier for anyone who does decide to do a UBAC policy build, and I think it should be upstream for the same reason.

Also the patch allows the unconfined_u identity access to the system_r role. This permits restarting daemons that run in the system_r role without using run_init.

I'm going to leave this out for now since UBAC isn't widely used.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
#2 lore raw
Quoted 11 lines · Christopher J. PeBenito
Quoted 10 lines · Russell Coker

I've attached a little patch for UBAC. Firstly it allows unconfined_u the same rights to override UBAC controls as system_u - if you want a UBAC confined identity then you can use one of the others. unconfined remains unconfined. Given the lack of use of UBAC this probably doesn't make any difference to anyone. I'm leaving it in the Debian source tree though to make things easier for anyone who does decide to do a UBAC policy build, and I think it should be upstream for the same reason.

Quoted 5 lines
Quoted 3 lines

Also the patch allows the unconfined_u identity access to the system_r
role. This permits restarting daemons that run in the system_r role
without using run_init.

I'm going to leave this out for now since UBAC isn't widely used.

Should I submit a patch to remove UBAC then? I think we should either improve it as much as possible or remove it.

Signature · 3 lines
russell at coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog
#3 lore raw
Quoted 12 lines · Russell Coker
Quoted 11 lines · Christopher J. PeBenito
Quoted 10 lines · Russell Coker

I've attached a little patch for UBAC. Firstly it allows unconfined_u the same rights to override UBAC controls as system_u - if you want a UBAC confined identity then you can use one of the others. unconfined remains unconfined. Given the lack of use of UBAC this probably doesn't make any difference to anyone. I'm leaving it in the Debian source tree though to make things easier for anyone who does decide to do a UBAC policy build, and I think it should be upstream for the same reason.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Also the patch allows the unconfined_u identity access to the system_r
role. This permits restarting daemons that run in the system_r role
without using run_init.

I'm going to leave this out for now since UBAC isn't widely used.

Should I submit a patch to remove UBAC then? I think we should either improve it as much as possible or remove it.

Let me clarify. Typically the people that use it don't use unconfined. UBAC will not be removed.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com