summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mount_portalfs
Commit message (Collapse)AuthorAgeFilesLines
* Change checkpath() to not exit on error. This is a prerequisite forjh2012-01-161-1/+2
| | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version)
* Spelling fixes for usr.sbin/uqs2011-12-303-4/+4
|
* Replace char copyright[] by static const char copyright[].ed2011-12-101-1/+1
| | | | It seems the latter is used throughout the tree.
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-05-131-2/+2
| | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
* ANSIfy some more tools in usr.sbin/.ed2010-01-021-1/+1
| | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations.
* Rework the credential code to support larger values of NGROUPS andbrooks2009-06-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NGROUPS_MAX, eliminate ABI dependencies on them, and raise the to 1024 and 1023 respectively. (Previously they were equal, but under a close reading of POSIX, NGROUPS_MAX was defined to be too large by 1 since it is the number of supplemental groups, not total number of groups.) The bulk of the change consists of converting the struct ucred member cr_groups from a static array to a pointer. Do the equivalent in kinfo_proc. Introduce new interfaces crcopysafe() and crsetgroups() for duplicating a process credential before modifying it and for setting group lists respectively. Both interfaces take care for the details of allocating groups array. crsetgroups() takes care of truncating the group list to the current maximum (NGROUPS) if necessary. In the future, crsetgroups() may be responsible for insuring invariants such as sorting the supplemental groups to allow groupmember() to be implemented as a binary search. Because we can not change struct xucred without breaking application ABIs, we leave it alone and introduce a new XU_NGROUPS value which is always 16 and is to be used or NGRPS as appropriate for things such as NFS which need to use no more than 16 groups. When feasible, truncate the group list rather than generating an error. Minor changes: - Reduce the number of hand rolled versions of groupmember(). - Do not assign to both cr_gid and cr_groups[0]. - Modify ipfw to cache ucreds instead of part of their contents since they are immutable once referenced by more than one entity. Submitted by: Isilon Systems (initial implementation) X-MFC after: never PR: bin/113398 kern/133867
* Add volatile to sig_atomic_t where it was missing.des2009-06-141-1/+1
| | | | MFC after: 1 week
* Decrease to WARNS=3.rodrigc2007-01-201-1/+1
|
* Clean up compilation warnings. Set WARNS=6 in Makefile.rodrigc2007-01-2010-89/+35
| | | | | PR: 71659 Submitted by: Dan Lukes <dan obluda cz>
* Markup fixes.ru2005-06-141-7/+3
| | | | Approved by: re (blanket)
* Remove unused variable.charnier2005-05-201-1/+0
|
* Spell out shutdown(2)'s how argument in #ifdef notdef'd code.jmallett2005-05-111-1/+1
|
* Remove wrong -unfilled .Bd argument implied by -literal.dds2005-04-111-4/+4
| | | | MFC after: 1 day
* Move common credential save and restore code into a separate file.dds2005-03-115-29/+86
| | | | Improve credential handling in pt_file.c
* Ensure the configuration file is given with an absolute file path.dds2005-03-111-0/+6
|
* Add examples for tcplisten, data scattering, and file views.dds2005-03-111-4/+35
| | | | Improve formatting of existing examples.
* Add a new pipe sub-namespace.dds2005-03-105-2/+252
| | | | | | | | | | | This allows us to: - perform scatter gather operations without using temporary files, - create non-linear pipelines, and - implement file views using symbolic links. File view idea by: Vassilios Karakoidas Portalfs pointer by: John Ioannidis MFC after: 1 month
* Document new pipe sub-namespace.dds2005-03-101-13/+45
| | | | | | | Alphabetically order the description of the sub-namespaces. Add usage examples for the net and pipe sub-namespaces. MFC after: 1 month
* Reference the Usenix conference paper.dds2005-03-081-0/+8
| | | | The paper explains very clearly how portals work.
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-0711-44/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Include <string.h> rather than <strings.h> for string function prototypes.stefanf2004-05-302-2/+2
| | | | Approved by: das (mentor)
* The file pt_tcplisten.c lacks the $FreeBSD$ keyword. Use the opportunity tostefanf2004-05-308-28/+18
| | | | | | change all files to __FBSDID. Approved by: das (mentor)
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Correct paths to mount sources.gordon2003-07-021-1/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-3/+3
|
* Now that the kernel is able to load modules itself,mux2002-08-031-12/+1
| | | | | | | | | | remove all the code which was trying to do so. This code was nasty in several ways, it was hiding the kernel bug where the kernel was unable to properly load a module, and it was quitting if it wasn't able to load the module. The consequence is that an ABI breakage of the vfsconf API would have broken *every* mount utility.
* The .Nm utilitycharnier2002-07-061-1/+1
|
* o __P removedimp2002-03-212-14/+14
| | | | o main prototype removed
* Default to WARNS=2.obrien2001-12-041-0/+2
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Hopefully improve control message passing over Unix domain sockets.dwmalone2001-10-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Allow the sending of more than one control message at a time over a unix domain socket. This should cover the PR 29499. 2) This requires that unp_{ex,in}ternalize and unp_scan understand mbufs with more than one control message at a time. 3) Internalize and externalize used to work on the mbuf in-place. This made life quite complicated and the code for sizeof(int) < sizeof(file *) could end up doing the wrong thing. The patch always create a new mbuf/cluster now. This resulted in the change of the prototype for the domain externalise function. 4) You can now send SCM_TIMESTAMP messages. 5) Always use CMSG_DATA(cm) to determine the start where the data in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1) in some places, which gives the wrong alignment on the alpha. (NetBSD made this fix some time ago). This results in an ABI change for discriptor passing and creds passing on the alpha. (Probably on the IA64 and Spare ports too). 6) Fix userland programs to use CMSG_* macros too. 7) Be more careful about freeing mbufs containing (file *)s. This is made possible by the prototype change of externalise. PR: 29499 MFC after: 6 weeks
* Actually rename FDESC, PORTAL, UMAP and UNION file systems.ru2001-05-241-5/+5
| | | | OK'ed by: bp
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-233-7/+7
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-232-2/+2
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-3/+6
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* 10 X's for mktemp(). This seems to be free from race conditions.kris2000-01-101-1/+1
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-091-2/+4
| | | | | | | | | | | | | | | | | Made mount more userfriendly (bad slashes are now filtered out) and we remove in mount_nfs trailing slashes if there are any. Fixed mount_xxx binarys to resolve with realpath(3) the mountpoint. Translate the deprecated nfs-syntax with '@' to ':' . The ':' syntax has now precedence, but '@' still works. Notify the user that the '@' syntax should not be used. PR: 7846 PR: 13692 Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: phk
* $Id$ -> $FreeBSD$peter1999-08-2812-12/+12
|
* Bad reference getsockname(8) -> getsockname(2)chris1999-08-141-2/+2
|
* Typo police. 'Acknowledgement' is spelled correctly so it was left untouched.dwhite1999-08-061-2/+2
| | | | | PR: docs/12986 Submitted by: Seth <seth@freebie.dp.ny.frb.org>
* Add pt_tcplisten.c functionality, fix a few minor bugsdillon1998-12-157-11/+234
| | | | | PR: kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758 Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>
* sendmsg() didn't like the MSG_EOR flag and returned an error. Removing thedillon1998-12-121-2/+2
| | | | flag makes portal tcp operation work.
* Fixed printf format errors.bde1998-08-021-2/+2
|
* Correct use of .Nm. Spelling. Add rcsid and remove unused #includes.charnier1998-07-068-42/+48
|
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-2/+1
| | | | the default.
* change s_port to ntohs(s_port) for printf in DEBUG.darrenr1998-01-111-2/+2
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
OpenPOWER on IntegriCloud