[Cbe-oss-dev] [PATCH 1/2] spufs: Make signal-notification files readonly for NOSCHED contexts

Arnd Bergmann arnd at arndb.de
Tue Jul 17 05:14:46 EST 2007


On Monday 16 July 2007, Jeremy Kerr wrote:
> Reading from the signal{1,2} files requires a spu_acquire_saved, so
> mask out the read bits for contexts created with SPU_CREATE_NOSCHED.
> 
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>

Can't the owner of the files simply change the file attributes again?
I think it would be better to have another set of file_operations
for these two files in case of NOSCHED contexts.

	Arnd <><



More information about the cbe-oss-dev mailing list