ORBit-like /tmp functions
- From: Federico Mena Quintero <federico ximian com>
- To: GTK+ development mailing list <gtk-devel-list gnome org>
- Cc: GNOME Desktop <desktop-devel-list gnome org>
- Subject: ORBit-like /tmp functions
- Date: Mon, 26 Jul 2004 18:24:21 -0500
Hi,
ORBit has some fancy code to create its /tmp/orbit-username directories
[1]. GConf needs something similar, as currently there is a possible
DOS attack whereby user1 creates a /tmp/gconfd-user2 directory, and then
user2 can't log in.
Would it be useful to put a one-stop-shop function for this kind of
stuff in Glib? It basically scans /tmp for a suitable directory, checks
permissions and users, etc.
[1] ORBit2/src/orb/GIOP/giop.c:giop_tmpdir_init()
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]