SE Linux patch(Re: [BusyBox] SE Linux)

Takeharu KATO takeharu1219 at ybb.ne.jp
Fri Feb 4 19:57:49 UTC 2005


Hi

I make SE-Linux support feature in busybox worked again.

I did not know how to attach the patch on bug-tracking system,
so I post this patch to this ML.

If busybox on SE-Linux, please try this patch.

Villalovos, John L wrote:

> I checked the latest 2.6 kernel and libselinux-1.20.tgz.  Neither one of
> them seem to contain this proc_secure.h file.
> 
> Is this include file not valid anymore?
> 
If nobody maintain this feature now, I am willing to maintain this.
How about this propose?

I show the some execution results as follow:
-- execution results
# ls -k /etc
system_u:object_r:etc_t          adjtime
system_u:object_r:etc_t          alchemist
system_u:object_r:etc_t          aliases
unknown                          aliases.db
system_u:object_r:etc_t          alsa
system_u:object_r:etc_t          alternatives
# id
uid=0(root) gid=0(root) context=root:system_r:unconfined_t
# ps -c
  PID Context                          Stat Command
    1 user_u:system_r:unconfined_t     S   init [5]
    2 user_u:system_r:unconfined_t     SWN [ksoftirqd/0]
    3 user_u:system_r:unconfined_t     SW< [events/0]
    4 user_u:system_r:unconfined_t     SW< [khelper]
    5 user_u:system_r:unconfined_t     SW< [kacpid]
-- 

-- 
Takeharu KATO
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: busybox-selinux-fix.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20050205/6034b297/attachment.diff 


More information about the busybox mailing list