Commit Graph

17 Commits

Author SHA1 Message Date
sevan 51fe790c4c Drop main() prototype. 2016-09-05 01:00:07 +00:00
christos a0647817d3 Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
christos 9db5ca4e66 add back old options for compatibility, but complain if specified. 2012-09-20 18:56:05 +00:00
christos 7097f02a88 remove -c and chroot option; they are always on now 2012-09-18 21:35:43 +00:00
christos 1b4e5840af don't print 2 lines of info, remove the bogus one. 2012-04-02 21:08:02 +00:00
joerg baa8e84b6f Use __dead 2011-08-29 14:34:58 +00:00
riastradh d9e31e357d Make `mount_ptyfs -c' actually work.
The ALTF_* are bit masks, not indices, so use 4, not 3, for the one
after 2.  Use 0x on all the values to emphasize this.

ok rmind
2011-05-21 20:05:02 +00:00
christos 9f97ab946c Allow ptyfs to be mounted inside a chrooted environment. 2009-03-15 16:47:45 +00:00
lukem 6543a91fea Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
2008-07-20 01:20:21 +00:00
pooka 704e075311 Make all mount(2) return value error checks against -1. Some file
systems just checked != 0, breaking MNT_GETARGS.  Others worked with < 0,
but make them check against -1 too for consistency.  And sprinkle some
stylish line wrapping where appropriate.
2007-07-16 17:06:52 +00:00
dsl 7af7206539 Add additional 'sizeof args' parameter to mount(2). 2007-07-14 15:57:24 +00:00
christos 5afd1c0a23 use MOPT_NULL 2006-10-16 03:37:42 +00:00
christos 7067dcb9a4 Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
erh fdd16c549b Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
2005-01-31 05:19:18 +00:00
christos 43b36b3a81 Add a missing = 2004-11-27 05:52:16 +00:00
christos f11900e378 Add arguments for ptyfs: slave tty group and mode, so we don't have to
hard-code them in the kernel.
2004-11-24 22:13:08 +00:00
christos 1bd4f21d5a Add userland glue for ptyfs. 2004-11-11 01:42:17 +00:00