Messages in this thread | | | Date | Thu, 03 Mar 2011 13:28:01 -0500 | From | Mark Lord <> | Subject | Re: [PATCH] Syscalls: reboot: Add options to the reboot syscall to remount filesystems ro |
| |
On 11-03-03 12:45 PM, Linus Torvalds wrote: > > If you can change whatever user-land process that does the reboot > system call (and clearly you can, since you're adding new commands and > using those), then why the heck don't you just do the remount-ro from > that same user land?
Is there a system call for emergency_remount_*() ? I've been writing to /proc/proc/sysrq-trigger to accomplish this.
| |