[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    [PATCH] artswrapper SUID root
From:       Stefan Westerfeld <stefan () space ! twc ! de>
Date:       2000-09-07 20:05:35
[Download RAW message or body]

   Hi!

If you want to start artsd with realtime rights, you need to have artswrapper
installed suid root. After applying a stability patch to artsd (see recent
kde-multimedia discussion) I think it is now a reasonable and safe choice
for KDE end users to run artsd with realtime rights all the day, and like
this have no more audio dropouts caused by artsd.

So artswrapper should install suid root now. It really only acquires root
rights suid, sets the priority, and DROPS them before running the real artsd.
I have sent it to Olaf Kirch <okir@caldera.de> for review, and he gave me
a few modifications, and thinks the wrapper code is fine now.

The main modification is that all that recursive checking if artsd, and the
parent directory of artsd and its parent directory is owned by root is gone
now. He said: well, *IF* it these permissions are messed up, then a hacker
would rather replace kdm or do other nasty things than causing a DOS by
replacing artsd, so forget the checking. As it also simplifies quite some
code, also in kcmarts, I threw it out.

The patch is attached, and if there are no objections, I'd like to apply it.

   Cu... Stefan
-- 
  -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic