[Cbe-oss-dev] [PATCH] spufs: disallow writes to signal{1, 2} files for nosched contexts

Arnd Bergmann arnd at arndb.de
Sun Feb 10 18:34:40 EST 2008


On Sunday 10 February 2008, Christoph Hellwig wrote:
> But in spufs we have the signal1 and signal2 files that do have a ->write
> method and are allowed to be written to for normal contexts, just not
> nosched contexts.  To actually enforce this the file permissions are not
> enough as explained above so we need to explicitly return EINVAL for
> nosched contexts in the ->write methods.
> 
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the cbe-oss-dev mailing list