Message-ID: <email address hidden>
Date: Mon, 15 Nov 2004 05:17:21 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: kde: system freezes at log out when using kernel 2.4 and arts over alsa
> Could arts be hacked so that it plays non-wav files in
> non-realtime-priority mode on Linux 2.4 + ALSA systems?
No; only suid artswrapper has the necessary privs to change the kernel
scheduling priority of the artsd thread, and it (correctly, so I can't
assert that there's a security issue here ;) drops suid privs immediately
after this change. However, a more realistic workaround might be for
artswrapper to detect the kernel version and avoid fiddling with scheduler
policies at all on 2.4 (possibly in favor of setting nice levels instead, if
this is safe).
--=20
Steve Langasek
postmodern programmer
--DEueqSqTbz/jWVG1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
Message-ID: <email address hidden>
Date: Mon, 15 Nov 2004 05:17:21 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: kde: system freezes at log out when using kernel 2.4 and arts over alsa
--DEueqSqTbz/jWVG1 Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
> Could arts be hacked so that it plays non-wav files in priority mode on Linux 2.4 + ALSA systems?
> non-realtime-
No; only suid artswrapper has the necessary privs to change the kernel
scheduling priority of the artsd thread, and it (correctly, so I can't
assert that there's a security issue here ;) drops suid privs immediately
after this change. However, a more realistic workaround might be for
artswrapper to detect the kernel version and avoid fiddling with scheduler
policies at all on 2.4 (possibly in favor of setting nice levels instead, if
this is safe).
--=20
Steve Langasek
postmodern programmer
--DEueqSqTbz/jWVG1 pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
ufymYLloRAme+ AJ49nZeIye37iHW Dxz0CzS55Kp8agQ CaAhr+ NnrCRgu8=
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBmKxeKN6
3IvKVYaNHqayKVy
=7njf
-----END PGP SIGNATURE-----
--DEueqSqTbz/ jWVG1--