PERFORCE change 18562 for review
Chris Vance
cvance at tislabs.com
Fri Oct 4 12:47:03 GMT 2002
Actually I had it this way on purpose. In testing, not all filesystems
will be mounted with extended attribute support (multilable). It seems
unnecessary to make 100,000 calls to extattr_set_link() for those
filesystems.
Instead, label the system as:
% sebsd_setfiles file_contexts / /home /usr/obj /usr/src
chris.
On Wed, 2 Oct 2002, Brian Feldman wrote:
> http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18562
>
> Change 18562 by green at green_laptop_2 on 2002/10/02 14:15:51
>
> It appears we really intend to label across filesystems, so
> don't turn that off.
>
> Affected files ...
>
> .. //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#5 edit
>
> Differences ...
>
> ==== //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#5 (text+ko) ====
>
> @@ -395,7 +395,7 @@
> fclose(fp);
>
> /* Walk the file tree, calling apply_spec on each file. */
> - fts = fts_open(fts_path, FTS_PHYSICAL | FTS_XDEV, NULL);
> + fts = fts_open(fts_path, FTS_PHYSICAL, NULL);
> while ((ftsent = fts_read(fts))) {
> apply_spec(ftsent);
> }
>
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list