DragonFly users List (threaded) for 2008-05
DragonFly BSD
DragonFly users List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

OT: setrlimit equivalent to prevent unlink or truncate


From: Johannes Hofmann <hofmann@xxxxxxxxxxxxxxxxxxxxxx>
Date: 30 May 2008 17:41:57 GMT

Hi,

I'm wondering whether there is a way to prevent a process to modify 
the file system. setrlimit(RLIMIT_FSIZE) to 0 almost does the trick,
but unfortunately it does not prevent unlink() or truncate().
Is there any reason why there is no limit to prevent unlink or
truncate?

Cheers,
Johannes



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]