[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1299221723.2735.6.camel@localhost>
Date: Fri, 04 Mar 2011 08:55:23 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Mark Lord <kernel@...savvy.com>,
Ken Sumrall <ksumrall@...roid.com>,
linux-kernel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>,
Christoph Hellwig <hch@....de>,
Andrew Morton <akpm@...ux-foundation.org>,
Jan Kara <jack@...e.cz>, Jens Axboe <axboe@...nel.dk>,
Matthew Wilcox <matthew@....cx>,
Eric Paris <eparis@...hat.com>,
Dave Young <hidave.darkstar@...il.com>,
Jiri Slaby <jslaby@...e.cz>, James Morris <jmorris@...ei.org>,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] Syscalls: reboot: Add options to the reboot syscall to
remount filesystems ro
On Thu, 2011-03-03 at 15:36 -0800, Linus Torvalds wrote:
> But you're certainly right that it takes less code to open
> /proc/sysrq-trigger and writing a single byte to it than it does to do
> the straightforward "let's just do the normal mount thing".
/proc/sysrq-trigger is sometimes simply disabled for "security reasons".
I'm not sure about Android, but some systems I know do disable it. So I
think /proc/mounts is a cleaner approach.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists