All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] make newrole suid (take 3)
@ 2006-11-03  0:37 Michael C Thompson
  2006-11-03  1:02 ` [PATCH 1/8] " Michael C Thompson
                   ` (8 more replies)
  0 siblings, 9 replies; 23+ messages in thread
From: Michael C Thompson @ 2006-11-03  0:37 UTC (permalink / raw)
  To: SE Linux, Stephen Smalley

This is the intro to a set of eight patches.

I finally took the time to break things down so that (I hope) more 
people read and give feedback (I can't believe only Stephen Smalley had 
comments, my code isn't that great!)

These patches are an attempt to make newrole be an acceptably secure 
suid root program, to provide it with the capabilities to generate audit 
records (existing) and handle polyinstatiation (new).

The format of the patches is different from previous sends.

The 8 patches are as follows:
1) Modifications to Makefile to support future patch needs
    Add newrole-lspp.pamd
2) New extract_pw_data function and use in main()
3) Add signal handler function
4) Update drop_capabilities() and use in main()
5) Update the authentication functions and use in main()
    Add cleanup since pam_start is now left till program end
6) Move relabeling tty actions into functions
7) Move command-line argument parsing into a function
    Clear the environment during execution
    Add support for preserving the environment (-p)
8) Shift to using new defines in the Makefile and in newrole.c
    Add support for namespaces
    Remove unused code, cleanup and documentation

It is now possible to apply a single patch and the code will compile; 
however, this is not recommended

The comments and discussions from the previous send (take 2) of these 
patches have been integrated.

Thanks,
Mike



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2006-11-14  0:08 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-03  0:37 [PATCH 0/8] make newrole suid (take 3) Michael C Thompson
2006-11-03  1:02 ` [PATCH 1/8] " Michael C Thompson
2006-11-03  1:03 ` [PATCH 2/8] " Michael C Thompson
2006-11-07  4:54   ` Serge E. Hallyn
2006-11-07 19:41     ` Michael C Thompson
2006-11-03  1:04 ` [PATCH 3/8] " Michael C Thompson
2006-11-03  1:05 ` [PATCH 4/8] " Michael C Thompson
2006-11-07  5:23   ` Serge E. Hallyn
2006-11-07 20:09     ` Michael C Thompson
2006-11-08 17:32       ` Serge E. Hallyn
2006-11-08 19:35         ` Michael C Thompson
2006-11-09  5:15           ` Serge E. Hallyn
2006-11-09 13:57             ` Stephen Smalley
2006-11-09 16:37               ` Serge E. Hallyn
2006-11-09 20:06                 ` Stephen Smalley
2006-11-09 21:21                   ` Serge E. Hallyn
2006-11-09 20:22                 ` Michael C Thompson
2006-11-09 20:27                   ` Stephen Smalley
2006-11-03  1:05 ` [PATCH 5/8] " Michael C Thompson
2006-11-03  1:06 ` [PATCH 6/8] " Michael C Thompson
2006-11-03  1:06 ` [PATCH 7/8] " Michael C Thompson
2006-11-03  1:07 ` [PATCH 8/8] " Michael C Thompson
2006-11-14  0:08 ` [PATCH 0/8] " Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.