<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/miscfs/umapfs/umap_vfsops.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2001-05-23T09:42:29Z</updated>
<entry>
<title>- FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file</title>
<updated>2001-05-23T09:42:29Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-05-23T09:42:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=99d300a1ecab368a3f1aab2273c07e5040c27d35'/>
<id>urn:sha1:99d300a1ecab368a3f1aab2273c07e5040c27d35</id>
<content type='text'>
  systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
  fdesc -&gt; fdescfs, portal -&gt; portalfs, union -&gt; unionfs.

- Renamed corresponding kernel options:
  FDESC -&gt; FDESCFS, PORTAL -&gt; PORTALFS, UNION -&gt; UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
  Makefiles.
</content>
</entry>
<entry>
<title>Change the second argument of vflush() to an integer that specifies</title>
<updated>2001-05-16T18:04:37Z</updated>
<author>
<name>Ian Dowse</name>
<email>iedowse@FreeBSD.org</email>
</author>
<published>2001-05-16T18:04:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0864ef1e8a449b1533c7e0ea673e9614aaa9a81f'/>
<id>urn:sha1:0864ef1e8a449b1533c7e0ea673e9614aaa9a81f</id>
<content type='text'>
the number of references on the filesystem root vnode to be both
expected and released. Many filesystems hold an extra reference on
the filesystem root vnode, which must be accounted for when
determining if the filesystem is busy and then released if it isn't
busy. The old `skipvp' approach required individual filesystem
xxx_unmount functions to re-implement much of vflush()'s logic to
deal with the root vnode.

All 9 filesystems that hold an extra reference on the root vnode
got the logic wrong in the case of forced unmounts, so `umount -f'
would always fail if there were any extra root vnode references.
Fix this issue centrally in vflush(), now that we can.

This commit also fixes a vnode reference leak in devfs, which could
result in idle devfs filesystems that refuse to unmount.

Reviewed by:	phk, bp
</content>
</entry>
<entry>
<title>Undo part of the tangle of having sys/lock.h and sys/mutex.h included in</title>
<updated>2001-05-01T08:13:21Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2001-05-01T08:13:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb919e4d5a2c1baca52ac70d1064f140fffdda71'/>
<id>urn:sha1:fb919e4d5a2c1baca52ac70d1064f140fffdda71</id>
<content type='text'>
other "system" header files.

Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.

Sort sys/*.h includes where possible in affected files.

OK'ed by:	bde (with reservations)
</content>
</entry>
<entry>
<title>o Change the API and ABI of the Extended Attribute kernel interfaces to</title>
<updated>2001-03-15T02:54:29Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2001-03-15T02:54:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=70f368510541308e762e29b6a936f6d26f0770b4'/>
<id>urn:sha1:70f368510541308e762e29b6a936f6d26f0770b4</id>
<content type='text'>
  introduce a new argument, "namespace", rather than relying on a first-
  character namespace indicator.  This is in line with more recent
  thinking on EA interfaces on various mailing lists, including the
  posix1e, Linux acl-devel, and trustedbsd-discuss forums.  Two namespaces
  are defined by default, EXTATTR_NAMESPACE_SYSTEM and
  EXTATTR_NAMESPACE_USER, where the primary distinction lies in the
  access control model: user EAs are accessible based on the normal
  MAC and DAC file/directory protections, and system attributes are
  limited to kernel-originated or appropriately privileged userland
  requests.

o These API changes occur at several levels: the namespace argument is
  introduced in the extattr_{get,set}_file() system call interfaces,
  at the vnode operation level in the vop_{get,set}extattr() interfaces,
  and in the UFS extended attribute implementation.  Changes are also
  introduced in the VFS extattrctl() interface (system call, VFS,
  and UFS implementation), where the arguments are modified to include
  a namespace field, as well as modified to advoid direct access to
  userspace variables from below the VFS layer (in the style of recent
  changes to mount by adrian@FreeBSD.org).  This required some cleanup
  and bug fixing regarding VFS locks and the VFS interface, as a vnode
  pointer may now be optionally submitted to the VFS_EXTATTRCTL()
  call.  Updated documentation for the VFS interface will be committed
  shortly.

o In the near future, the auto-starting feature will be updated to
  search two sub-directories to the ".attribute" directory in appropriate
  file systems: "user" and "system" to locate attributes intended for
  those namespaces, as the single filename is no longer sufficient
  to indicate what namespace the attribute is intended for.  Until this
  is committed, all attributes auto-started by UFS will be placed in
  the EXTATTR_NAMESPACE_SYSTEM namespace.

o The default POSIX.1e attribute names for ACLs and Capabilities have
  been updated to no longer include the '$' in their filename.  As such,
  if you're using these features, you'll need to rename the attribute
  backing files to the same names without '$' symbols in front.

o Note that these changes will require changes in userland, which will
  be committed shortly.  These include modifications to the extended
  attribute utilities, as well as to libutil for new namespace
  string conversion routines.  Once the matching userland changes are
  committed, a buildworld is recommended to update all the necessary
  include files and verify that the kernel and userland environments
  are in sync.  Note: If you do not use extended attributes (most people
  won't), upgrading is not imperative although since the system call
  API has changed, the new userland extended attribute code will no longer
  compile with old include files.

o Couple of minor cleanups while I'm there: make more code compilation
  conditional on FFS_EXTATTR, which should recover a bit of space on
  kernels running without EA's, as well as update copyright dates.

Obtained from:	TrustedBSD Project
</content>
</entry>
<entry>
<title>Reviewed by:	jlemon</title>
<updated>2001-03-01T21:00:17Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2001-03-01T21:00:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f3a90da99535deaf4e33d660ac83e7126a20a20f'/>
<id>urn:sha1:f3a90da99535deaf4e33d660ac83e7126a20a20f</id>
<content type='text'>
An initial tidyup of the mount() syscall and VFS mount code.

This code replaces the earlier work done by jlemon in an attempt to
make linux_mount() work.

* the guts of the mount work has been moved into vfs_mount().

* move `type', `path' and `flags' from being userland variables into being
  kernel variables in vfs_mount(). `data' remains a pointer into
  userspace.

* Attempt to verify the `type' and `path' strings passed to vfs_mount()
  aren't too long.

* rework mount() and linux_mount() to take the userland parameters
  (besides data, as mentioned) and pass kernel variables to vfs_mount().
  (linux_mount() already did this, I've just tidied it up a little more.)

* remove the copyin*() stuff for `path'. `data' still requires copyin*()
  since its a pointer into userland.

* set `mount-&gt;mnt_statf_mntonname' in vfs_mount() rather than in each
  filesystem.  This variable is generally initialised with `path', and
  each filesystem can override it if they want to.

* NOTE: f_mntonname is intiailised with "/" in the case of a root mount.
</content>
</entry>
<entry>
<title>Move suser() and suser_xxx() prototypes and a related #define from</title>
<updated>2000-10-29T16:06:56Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2000-10-29T16:06:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf9fa8e72541441be08abdd3a8475449da7d7995'/>
<id>urn:sha1:cf9fa8e72541441be08abdd3a8475449da7d7995</id>
<content type='text'>
&lt;sys/proc.h&gt; to &lt;sys/systm.h&gt;.

Correctly document the #includes needed in the manpage.

Add one now needed #include of &lt;sys/systm.h&gt;.
Remove the consequent 48 unused #includes of &lt;sys/proc.h&gt;.
</content>
</entry>
<entry>
<title>Remove unneeded #include &lt;vm/vm_zone.h&gt;</title>
<updated>2000-04-30T18:52:11Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2000-04-30T18:52:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c9b67a8dfbc9f24504866e4f3861ac4db4702ce'/>
<id>urn:sha1:2c9b67a8dfbc9f24504866e4f3861ac4db4702ce</id>
<content type='text'>
Generated by:	src/tools/tools/kerninclude
</content>
</entry>
<entry>
<title>Fix bde'isms in acl/extattr syscall interface, renaming syscalls to</title>
<updated>2000-01-19T06:07:34Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2000-01-19T06:07:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f0738756ccbc1f9f3afacb6876e9b2cc7f259bb'/>
<id>urn:sha1:8f0738756ccbc1f9f3afacb6876e9b2cc7f259bb</id>
<content type='text'>
prettier (?) names, adding some const's around here, et al.

Reviewed by:	bde
</content>
</entry>
<entry>
<title>Second pass commit to introduce new ACL and Extended Attribute system</title>
<updated>1999-12-19T06:08:07Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>1999-12-19T06:08:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=91f37dcba1648b1f24e2913c3ab78fc4eae35991'/>
<id>urn:sha1:91f37dcba1648b1f24e2913c3ab78fc4eae35991</id>
<content type='text'>
calls, vnops, vfsops, both in /kern, and to individual file systems that
require a vfsop_ array entry.

Reviewed by:	eivind
</content>
</entry>
<entry>
<title>Introduce NDFREE (and remove VOP_ABORTOP)</title>
<updated>1999-12-15T23:02:35Z</updated>
<author>
<name>Eivind Eklund</name>
<email>eivind@FreeBSD.org</email>
</author>
<published>1999-12-15T23:02:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=762e6b856c64ee48f286a7f0b45d0067e556b252'/>
<id>urn:sha1:762e6b856c64ee48f286a7f0b45d0067e556b252</id>
<content type='text'>
</content>
</entry>
</feed>
