Newsgroups: linux.kernel
From: Mitch Williams <mitch.a.willi...@intel.com>
Date: Sat, 22 Jan 2005 00:00:15 +0100
Local: Fri, Jan 21 2005 6:00 pm
Subject: [PATCH 1/3] disallow seeks and appends on sysfs files
This patch causes sysfs to return errors if the caller attempts to append
to or seek on a sysfs file. Generated from 2.6.11-rc1. Signed-off-by: Mitch Williams <mitch.a.willi...@intel.com> diff -uprN -X dontdiff linux-2.6.11-clean/fs/sysfs/file.c linux-2.6.11/fs/sysfs/file.c + /* Is the file is open for append? Sorry, we don't do that. */ Einval: You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||