Author: jh
Date: Fri May 9 15:55:45 2014
New Revision: 265781
URL: http://svnweb.freebsd.org/changeset/base/265781
Log:
MFC r264194:
Fork a child process and wait until the process terminates when the -P
option is specified. This behavior is documented on the manual page.
PR:
Author: jh
Date: Sun Apr 6 16:35:49 2014
New Revision: 264194
URL: http://svnweb.freebsd.org/changeset/base/264194
Log:
Fork a child process and wait until the process terminates when the -P
option is specified. This behavior is documented on the manual page.
PR: bin/187265
Hi,
On 2014-04-03, Greg Lehey wrote:
Add information on standards compliance of many options.
-n and -A are in POSIX.1-2008. Please see this PR:
http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/140435
--
Jaakko
___
svn-src-all@freebsd.org
Author: jh
Date: Wed Apr 2 17:10:17 2014
New Revision: 264047
URL: http://svnweb.freebsd.org/changeset/base/264047
Log:
MFC r251565:
Print file names without stdio buffering to avoid mixing buffered and
unbuffered ouput.
PR: bin/176886
Modified:
Author: jh
Date: Sun Mar 30 17:59:32 2014
New Revision: 263945
URL: http://svnweb.freebsd.org/changeset/base/263945
Log:
MFC r253252:
Clarify how hide and unhide commands work on directories.
Modified:
stable/9/sbin/devfs/devfs.8
Directory Properties:
stable/9/sbin/devfs/ (props
Author: jh
Date: Tue Sep 24 17:09:28 2013
New Revision: 255856
URL: http://svnweb.freebsd.org/changeset/base/255856
Log:
MFC r250706: A library function shall not set errno to 0.
Modified:
stable/9/sys/kern/subr_sbuf.c
Directory Properties:
stable/9/sys/ (props changed)
Modified:
Author: jh
Date: Fri Jul 12 06:03:25 2013
New Revision: 253252
URL: http://svnweb.freebsd.org/changeset/base/253252
Log:
Clarify how hide and unhide commands work on directories.
Modified:
head/sbin/devfs/devfs.8
Modified: head/sbin/devfs/devfs.8
Author: jh
Date: Wed Jun 19 18:00:00 2013
New Revision: 251998
URL: http://svnweb.freebsd.org/changeset/base/251998
Log:
MFC r251485:
Revert r238399.
The failok option doesn't have any effect at all unless specified in
fstab(5) and combined with the -a flag. The failok option is
Author: jh
Date: Wed Jun 19 18:01:37 2013
New Revision: 251999
URL: http://svnweb.freebsd.org/changeset/base/251999
Log:
MFC r251485:
Revert r238399.
The failok option doesn't have any effect at all unless specified in
fstab(5) and combined with the -a flag. The failok option is
Author: jh
Date: Sun Jun 9 08:06:26 2013
New Revision: 251565
URL: http://svnweb.freebsd.org/changeset/base/251565
Log:
Print file names without stdio buffering to avoid mixing buffered and
unbuffered ouput.
PR: bin/176886
Reviewed by: mjg
Modified:
Author: jh
Date: Fri Jun 7 07:17:46 2013
New Revision: 251485
URL: http://svnweb.freebsd.org/changeset/base/251485
Log:
Revert r238399.
The failok option doesn't have any effect at all unless specified in
fstab(5) and combined with the -a flag. The failok option is already
documented
Author: jh
Date: Mon Jun 3 16:10:30 2013
New Revision: 251304
URL: http://svnweb.freebsd.org/changeset/base/251304
Log:
MFC r250868: Remove an extra semicolon from the DOT language output.
PR: kern/178540
Modified:
stable/8/sys/geom/geom_dump.c
Directory Properties:
Author: jh
Date: Mon Jun 3 16:09:23 2013
New Revision: 251303
URL: http://svnweb.freebsd.org/changeset/base/251303
Log:
MFC r250868: Remove an extra semicolon from the DOT language output.
PR: kern/178540
Modified:
stable/9/sys/geom/geom_dump.c
Directory Properties:
Author: jh
Date: Sat May 25 09:47:33 2013
New Revision: 250976
URL: http://svnweb.freebsd.org/changeset/base/250976
Log:
MFC r250443: Check the return value of sbuf_finish().
Modified:
stable/9/usr.sbin/ctladm/ctladm.c
Directory Properties:
stable/9/usr.sbin/ctladm/ (props changed)
Author: jh
Date: Tue May 21 18:40:54 2013
New Revision: 250868
URL: http://svnweb.freebsd.org/changeset/base/250868
Log:
Remove an extra semicolon from the DOT language output.
PR: kern/178540
Submitted by: Trond Endrestol
MFC after:1 week
Modified:
Author: jh
Date: Thu May 16 18:13:10 2013
New Revision: 250706
URL: http://svnweb.freebsd.org/changeset/base/250706
Log:
A library function shall not set errno to 0.
Reviewed by: mdf
Modified:
head/sys/kern/subr_sbuf.c
Modified: head/sys/kern/subr_sbuf.c
Author: jh
Date: Wed May 15 18:41:49 2013
New Revision: 250667
URL: http://svnweb.freebsd.org/changeset/base/250667
Log:
Rename O_DIRECTORY to O_TMP_DIRECTORY to avoid shadowing the fcntl.h
O_DIRECTORY flag.
PR: bin/173924
Obtained from:git://repo.or.cz/nvi.git
Author: jh
Date: Mon May 13 13:57:06 2013
New Revision: 250597
URL: http://svnweb.freebsd.org/changeset/base/250597
Log:
MFC r249200: Correct the path.
PR: 176256
Modified:
stable/9/usr.bin/calendar/calendar.1
Directory Properties:
stable/9/usr.bin/calendar/ (props
Author: jh
Date: Mon May 13 14:00:24 2013
New Revision: 250598
URL: http://svnweb.freebsd.org/changeset/base/250598
Log:
MFC r249200: Correct the path.
PR: 176256
Modified:
stable/8/usr.bin/calendar/calendar.1
Directory Properties:
stable/8/usr.bin/calendar/ (props
Author: jh
Date: Sun May 12 09:42:17 2013
New Revision: 250558
URL: http://svnweb.freebsd.org/changeset/base/250558
Log:
MFC r249650:
Include PID in the error message which is printed when the maxproc limit
is exceeded. Improve formatting of the message while here.
PR:
Author: jh
Date: Fri May 10 09:58:32 2013
New Revision: 250443
URL: http://svnweb.freebsd.org/changeset/base/250443
Log:
Check the return value of sbuf_finish().
MFC after:1 week
Modified:
head/usr.sbin/ctladm/ctladm.c
Modified: head/usr.sbin/ctladm/ctladm.c
Author: jh
Date: Fri Apr 19 15:19:29 2013
New Revision: 249650
URL: http://svnweb.freebsd.org/changeset/base/249650
Log:
Include PID in the error message which is printed when the maxproc limit
is exceeded. Improve formatting of the message while here.
PR: kern/60550
On 2013-04-15, Ivan Voras wrote:
Introduce glabel labels based on GEOM ident attributes. In this initial
implementation, error on the side of conservatism and only create labels
for GEOMs of classes DISK and MULTIPATH.
After this commit I get a panic on boot. My kernel has been compiled
Author: jh
Date: Sat Apr 6 13:42:37 2013
New Revision: 249200
URL: http://svnweb.freebsd.org/changeset/base/249200
Log:
Correct the path.
PR: 176256
Submitted by: jhs
Modified:
head/usr.bin/calendar/calendar.1
Modified: head/usr.bin/calendar/calendar.1
Hi,
On 2013-03-21, Martin Matuska wrote:
Merge libzfs_core branch:
includes MFV 238590, 238592, 247580
I am getting the following error after this commit:
# zpool list
failed to read pool configuration: bad address
no pools available
# zfs list
failed to read pool configuration: bad
Author: jh
Date: Thu Jan 24 17:28:39 2013
New Revision: 245891
URL: http://svnweb.freebsd.org/changeset/base/245891
Log:
Sanitize the element descriptor string before using it as a device name.
Reported and tested by: Vitalij Satanivskij
Reviewed by: gibbs, mav
Modified:
Author: jh
Date: Fri Jan 18 08:10:00 2013
New Revision: 245590
URL: http://svnweb.freebsd.org/changeset/base/245590
Log:
MFC r243373:
Print correct unit number when attaching preloaded memory disks.
Retire now unused mdunits variable.
Modified:
stable/9/sys/dev/md/md.c
Directory
On 2013-01-09, Warner Losh wrote:
I do not object, but IMHO having names with the spaces in /dev is weird
and possibly problematic.
I agree and my my preference was also to disallow spaces. However I
expected that someone might complain.
This was the reason of my initial request to
On 2013-01-07, John Baldwin wrote:
I think if it isn't hard to do so, we should aim to preserve labels as they
are generally intended to be human readable as-is. Just preserving spaces is
probably sufficient for this as they are probably the most commonly used
character in labels affected
On 2013-01-04, John Baldwin wrote:
New Revision: 244585
Log:
Mangle label names containing spaces, non-printable characters '%' or
''. Mangling is only done for label names read from file system
metadata. Encoding resembles URL encoding. For example, the space
character
Author: jh
Date: Fri Jan 4 11:57:27 2013
New Revision: 245037
URL: http://svnweb.freebsd.org/changeset/base/245037
Log:
MFC r234047 by bjk:
Fix a couple of style issues. Tweak grammar and markup while here.
Modified:
stable/9/sbin/mdconfig/mdconfig.8
Directory Properties:
Author: jh
Date: Fri Jan 4 12:06:59 2013
New Revision: 245038
URL: http://svnweb.freebsd.org/changeset/base/245038
Log:
MFC r243372:
Disallow attaching preloaded memory disks via ioctl.
- The feature is dangerous because the kernel code didn't check
validity of the memory address
Author: jh
Date: Sat Dec 22 13:33:28 2012
New Revision: 244584
URL: http://svnweb.freebsd.org/changeset/base/244584
Log:
Reject spaces and double quotation marks in device names. devctl(4)
and devd(8) can't handle names with such characters properly.
PR: bin/144736, kern/161912
Author: jh
Date: Sat Dec 22 13:43:12 2012
New Revision: 244585
URL: http://svnweb.freebsd.org/changeset/base/244585
Log:
Mangle label names containing spaces, non-printable characters '%' or
''. Mangling is only done for label names read from file system
metadata. Encoding resembles URL
Author: jh
Date: Fri Dec 21 18:25:05 2012
New Revision: 244547
URL: http://svnweb.freebsd.org/changeset/base/244547
Log:
MFC r24:
- Don't pass geom and provider names as format strings.
- Add __printflike() attributes.
- Remove an extra argument for the g_new_geomf() call in
Author: jh
Date: Fri Dec 14 11:38:15 2012
New Revision: 244208
URL: http://svnweb.freebsd.org/changeset/base/244208
Log:
MFC r242130:
Improve libgeom XML parsing error handling.
- Abort parsing and return an error if we run out of memory.
- Return EILSEQ from geom_xml2tree() for XML
On 2012-12-10, Greg Lehey wrote:
MFC to r242840:
I found confusing that this commit merges changes not mentioned in the
commit message below. It make me while to notice to before the
revision number. Also the commit didn't record mergeinfo.
Add y flag and environment variable LS_SAMESORT
Author: jh
Date: Thu Dec 6 08:35:46 2012
New Revision: 243942
URL: http://svnweb.freebsd.org/changeset/base/243942
Log:
MFC r242511: Print a newline after the error message.
PR: bin/168447
Modified:
stable/9/sbin/fsck_msdosfs/check.c
Directory Properties:
Author: jh
Date: Thu Dec 6 08:36:30 2012
New Revision: 243943
URL: http://svnweb.freebsd.org/changeset/base/243943
Log:
MFC r242511: Print a newline after the error message.
PR: bin/168447
Modified:
stable/8/sbin/fsck_msdosfs/check.c
Directory Properties:
On 2012-12-06, Alfred Perlstein wrote:
I think perror writes to STDERR, printf to STDOUT. (am I wrong?)
perror(3) prints on stderr. However fsck uses its own perror() (renamed
to perr() in head) which prints on stdout.
You might better use warn()?
Using warn(3) here wouldn't be correct.
For
Author: jh
Date: Tue Nov 27 16:37:36 2012
New Revision: 243618
URL: http://svnweb.freebsd.org/changeset/base/243618
Log:
MFC r238991:
Disallow sectorsize larger than MAXPHYS and mediasize smaller than
sectorsize.
PR: 169947
Modified:
stable/8/sys/dev/md/md.c
Directory
Author: jh
Date: Sat Nov 24 08:33:27 2012
New Revision: 243477
URL: http://svnweb.freebsd.org/changeset/base/243477
Log:
MFC r235143 by kib:
Plug a leak.
PR: 167068
Tested by:Oliver Pinter
Modified:
stable/7/lib/libc/rpc/auth_unix.c
Directory Properties:
Author: jh
Date: Wed Nov 21 16:56:47 2012
New Revision: 243372
URL: http://svnweb.freebsd.org/changeset/base/243372
Log:
Disallow attaching preloaded memory disks via ioctl.
- The feature is dangerous because the kernel code didn't check
validity of the memory address provided from
Author: jh
Date: Wed Nov 21 17:05:57 2012
New Revision: 243373
URL: http://svnweb.freebsd.org/changeset/base/243373
Log:
Print correct unit number when attaching preloaded memory disks.
Retire now unused mdunits variable.
Modified:
head/sys/dev/md/md.c
Modified: head/sys/dev/md/md.c
Hi!
On 2012-11-20, Baptiste Daroussin wrote:
change mode the group file to 0644 after a successfull rename(2)
int
gr_mkdb(void)
{
- return (rename(tempname, group_file));
+ int ret;
+
+ ret = rename(tempname, group_file);
+
+ if (ret == 0)
+
Author: jh
Date: Tue Nov 20 12:32:18 2012
New Revision: 24
URL: http://svnweb.freebsd.org/changeset/base/24
Log:
- Don't pass geom and provider names as format strings.
- Add __printflike() attributes.
- Remove an extra argument for the g_new_geomf() call in swapongeom_ev().
On 2012-11-20, Baptiste Daroussin wrote:
Does this looks better to you?
http://people.freebsd.org/~bapt/gr_util.diff
Yes. Thank you.
--
Jaakko
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To
On 2012-11-08, Greg Lehey wrote:
New Revision: 242725
- return (strcoll(a-fts_name, b-fts_name));
+if (f_samesort)
+ return (strcoll(b-fts_name, a-fts_name));
+else
+ return (strcoll(a-fts_name, b-fts_name));
Please use tabs instead of spaces in
Author: jh
Date: Wed Nov 7 16:52:01 2012
New Revision: 242699
URL: http://svnweb.freebsd.org/changeset/base/242699
Log:
MFC r238991:
Disallow sectorsize larger than MAXPHYS and mediasize smaller than
sectorsize.
PR: 169947
Modified:
stable/9/sys/dev/md/md.c
Directory
Author: jh
Date: Sat Nov 3 09:18:37 2012
New Revision: 242511
URL: http://svn.freebsd.org/changeset/base/242511
Log:
Print a newline after the error message.
PR: bin/168447
Submitted by: Boris Kochergin
Modified:
head/sbin/fsck_msdosfs/check.c
Modified:
Author: jh
Date: Wed Oct 31 17:00:36 2012
New Revision: 242399
URL: http://svn.freebsd.org/changeset/base/242399
Log:
MFC r238652: style(9).
Modified:
stable/8/bin/cat/cat.c
Directory Properties:
stable/8/bin/cat/ (props changed)
Modified: stable/8/bin/cat/cat.c
Author: jh
Date: Wed Oct 31 17:01:56 2012
New Revision: 242400
URL: http://svn.freebsd.org/changeset/base/242400
Log:
MFC r238653: Use proper error message when fstat(2) fails on stdout.
PR: bin/159746
Modified:
stable/8/bin/cat/cat.c
Directory Properties:
stable/8/bin/cat/
Author: jh
Date: Fri Oct 26 12:46:33 2012
New Revision: 242130
URL: http://svn.freebsd.org/changeset/base/242130
Log:
Improve libgeom XML parsing error handling.
- Abort parsing and return an error if we run out of memory.
- Return EILSEQ from geom_xml2tree() for XML syntax errors.
Author: jh
Date: Fri Oct 5 09:47:54 2012
New Revision: 241222
URL: http://svn.freebsd.org/changeset/base/241222
Log:
MFC r239257:
Reserve room for the terminating NUL when setting or getting kernel
environment variables. KENV_MNAMELEN and KENV_MVALLEN doesn't include
space for the
Author: jh
Date: Fri Oct 5 10:44:50 2012
New Revision: 241223
URL: http://svn.freebsd.org/changeset/base/241223
Log:
MFC r239612: Check the return value of sbuf_finish().
Modified:
stable/9/sbin/camcontrol/camcontrol.c
Directory Properties:
stable/9/sbin/camcontrol/ (props changed)
Author: jh
Date: Mon Oct 1 14:52:34 2012
New Revision: 241098
URL: http://svn.freebsd.org/changeset/base/241098
Log:
MFC r238546: Remove trailing whitespace.
Modified:
stable/8/usr.sbin/lpr/common_source/common.c
Directory Properties:
stable/8/usr.sbin/lpr/ (props changed)
Author: jh
Date: Mon Oct 1 14:55:22 2012
New Revision: 241099
URL: http://svn.freebsd.org/changeset/base/241099
Log:
MFC r238547:
Make sure that arraysz is initialized to a value larger than zero.
arraysz could get initialized to zero on ZFS because ZFS reports
directory sizes
Author: jh
Date: Wed Sep 12 15:59:03 2012
New Revision: 240407
URL: http://svn.freebsd.org/changeset/base/240407
Log:
MFC r238652: style(9).
Modified:
stable/9/bin/cat/cat.c
Directory Properties:
stable/9/bin/cat/ (props changed)
Modified: stable/9/bin/cat/cat.c
Author: jh
Date: Wed Sep 12 16:01:48 2012
New Revision: 240408
URL: http://svn.freebsd.org/changeset/base/240408
Log:
MFC r238653: Use proper error message when fstat(2) fails on stdout.
PR: bin/159746
Modified:
stable/9/bin/cat/cat.c
Directory Properties:
stable/9/bin/cat/
Author: jh
Date: Mon Sep 10 16:24:16 2012
New Revision: 240319
URL: http://svn.freebsd.org/changeset/base/240319
Log:
MFC r238546: Remove trailing whitespace.
Modified:
stable/9/usr.sbin/lpr/common_source/common.c
Directory Properties:
stable/9/usr.sbin/lpr/ (props changed)
Author: jh
Date: Mon Sep 10 16:28:45 2012
New Revision: 240322
URL: http://svn.freebsd.org/changeset/base/240322
Log:
MFC r238547:
Make sure that arraysz is initialized to a value larger than zero.
arraysz could get initialized to zero on ZFS because ZFS reports
directory sizes
Author: jh
Date: Thu Aug 23 16:25:36 2012
New Revision: 239612
URL: http://svn.freebsd.org/changeset/base/239612
Log:
Check the return value of sbuf_finish().
Modified:
head/sbin/camcontrol/camcontrol.c
Modified: head/sbin/camcontrol/camcontrol.c
Author: jh
Date: Tue Aug 14 19:16:30 2012
New Revision: 239257
URL: http://svn.freebsd.org/changeset/base/239257
Log:
Reserve room for the terminating NUL when setting or getting kernel
environment variables. KENV_MNAMELEN and KENV_MVALLEN doesn't include
space for the terminating NUL.
Author: jh
Date: Thu Aug 2 15:05:34 2012
New Revision: 238991
URL: http://svn.freebsd.org/changeset/base/238991
Log:
Disallow sectorsize larger than MAXPHYS and mediasize smaller than
sectorsize.
PR: 169947
Submitted by: Filip Palian (original version)
Reviewed by: kib
Author: jh
Date: Fri Jul 20 08:31:36 2012
New Revision: 238652
URL: http://svn.freebsd.org/changeset/base/238652
Log:
style(9).
Modified:
head/bin/cat/cat.c
Modified: head/bin/cat/cat.c
==
--- head/bin/cat/cat.c
Author: jh
Date: Fri Jul 20 08:33:23 2012
New Revision: 238653
URL: http://svn.freebsd.org/changeset/base/238653
Log:
Use proper error message when fstat(2) fails on stdout.
PR: bin/159746
Submitted by: Alex K.
Modified:
head/bin/cat/cat.c
Modified: head/bin/cat/cat.c
Author: jh
Date: Tue Jul 17 09:31:05 2012
New Revision: 238546
URL: http://svn.freebsd.org/changeset/base/238546
Log:
Remove trailing whitespace.
MFC after:2 weeks
Modified:
head/usr.sbin/lpr/common_source/common.c
Modified: head/usr.sbin/lpr/common_source/common.c
Author: jh
Date: Tue Jul 17 09:34:52 2012
New Revision: 238547
URL: http://svn.freebsd.org/changeset/base/238547
Log:
Make sure that arraysz is initialized to a value larger than zero.
arraysz could get initialized to zero on ZFS because ZFS reports
directory sizes differently compared to
Author: jh
Date: Sun Jul 15 19:05:58 2012
New Revision: 238497
URL: http://svn.freebsd.org/changeset/base/238497
Log:
MFC r230642: Remove trailing whitespace.
Modified:
stable/7/sbin/mount_ntfs/mount_ntfs.c
Directory Properties:
stable/7/sbin/mount_ntfs/ (props changed)
Modified:
Author: jh
Date: Mon Jun 11 18:02:30 2012
New Revision: 236901
URL: http://svn.freebsd.org/changeset/base/236901
Log:
MFC r230373:
Change mount_fs() to not exit on error. The failok mount option
requires that errors are passed to the caller.
PR: 163668
Modified:
Author: jh
Date: Mon Jun 11 18:22:04 2012
New Revision: 236904
URL: http://svn.freebsd.org/changeset/base/236904
Log:
MFC r230377:
Don't print the nmount(2) provided error message if it is empty.
Modified:
stable/8/sbin/mount/mount_fs.c
Directory Properties:
stable/8/sbin/mount/
Author: jh
Date: Sat Jun 2 10:14:55 2012
New Revision: 236440
URL: http://svn.freebsd.org/changeset/base/236440
Log:
MFC r230642: Remove trailing whitespace.
Modified:
stable/8/sbin/mount_ntfs/mount_ntfs.c
Directory Properties:
stable/8/sbin/mount_ntfs/ (props changed)
Modified:
Author: jh
Date: Wed May 16 17:26:14 2012
New Revision: 235509
URL: http://svn.freebsd.org/changeset/base/235509
Log:
MFC r232102: Exit with proper status when wake() fails.
PR: bin/153527
Modified:
stable/8/usr.sbin/wake/wake.c
Directory Properties:
stable/8/usr.sbin/wake/
Author: jh
Date: Mon May 14 15:46:37 2012
New Revision: 235449
URL: http://svn.freebsd.org/changeset/base/235449
Log:
MFC r234489:
The value of flags matching VNOVAL can't be supported. Return EOPNOTSUPP
from setfflags() in this case. This fixes the return value of
chflags(path, -1).
Author: jh
Date: Mon May 7 15:30:53 2012
New Revision: 235131
URL: http://svn.freebsd.org/changeset/base/235131
Log:
MFC r234104:
Apply changes from r233787 to ext2fs:
- Use more natural ip-i_flags instead of vap-va_flags in the final
flags check.
- Style improvements.
No
Author: jh
Date: Fri May 4 15:51:23 2012
New Revision: 235010
URL: http://svn.freebsd.org/changeset/base/235010
Log:
MFC r233875: Add a check for unsupported file flags to ufs_setattr().
Modified:
stable/9/sys/ufs/ufs/ufs_vnops.c
Directory Properties:
stable/9/sys/ (props changed)
Author: jh
Date: Wed May 2 15:15:28 2012
New Revision: 234929
URL: http://svn.freebsd.org/changeset/base/234929
Log:
MFC r233787:
- Use more natural ip-i_flags instead of vap-va_flags in the final
flags check.
- Add a comment for the immutable/append check done after handling of
Author: jh
Date: Fri Apr 20 10:08:30 2012
New Revision: 234489
URL: http://svn.freebsd.org/changeset/base/234489
Log:
The value of flags matching VNOVAL can't be supported. Return EOPNOTSUPP
from setfflags() in this case. This fixes the return value of
chflags(path, -1).
Discussed
Author: jh
Date: Wed Apr 18 15:19:00 2012
New Revision: 234421
URL: http://svn.freebsd.org/changeset/base/234421
Log:
The part about exec atime no longer applies in the comment.
Pointed out by: bde
Modified:
head/sys/ufs/ufs/ufs_vnops.c
Modified: head/sys/ufs/ufs/ufs_vnops.c
Author: jh
Date: Wed Apr 18 15:22:08 2012
New Revision: 234422
URL: http://svn.freebsd.org/changeset/base/234422
Log:
Return EOPNOTSUPP rather than EPERM for the SF_SNAPSHOT flag because
tmpfs doesn't support snapshots.
Suggested by: bde
Modified:
head/sys/fs/tmpfs/tmpfs_subr.c
Author: jh
Date: Mon Apr 16 18:07:42 2012
New Revision: 234346
URL: http://svn.freebsd.org/changeset/base/234346
Log:
tmpfs: Allow update mounts only for certain options.
Since r230208 update mounts were allowed if the list of mount options
contained the export option. This is not
Author: jh
Date: Mon Apr 16 18:10:34 2012
New Revision: 234347
URL: http://svn.freebsd.org/changeset/base/234347
Log:
Sync tmpfs_chflags() with the recent changes to UFS:
- Add a check for unsupported file flags.
- Return EPERM when an user without PRIV_VFS_SYSFLAGS privilege attempts
On 2012-01-23, Mikolaj Golub wrote:
I see two issues with this patch:
What do you think about this patch?
%%%
Index: sys/fs/tmpfs/tmpfs.h
===
--- sys/fs/tmpfs/tmpfs.h(revision 234201)
+++ sys/fs/tmpfs/tmpfs.h
Author: jh
Date: Fri Apr 13 05:40:26 2012
New Revision: 234202
URL: http://svn.freebsd.org/changeset/base/234202
Log:
Additional manual page updates for r234103.
Submitted by: bde
Modified:
head/lib/libc/sys/chflags.2
Modified: head/lib/libc/sys/chflags.2
Author: jh
Date: Fri Apr 13 05:48:31 2012
New Revision: 234203
URL: http://svn.freebsd.org/changeset/base/234203
Log:
Apply changes from r234103 to ext2fs:
Return EPERM from ext2_setattr() when an user without PRIV_VFS_SYSFLAGS
privilege attempts to toggle SF_SETTABLE flags.
Flags
Author: jh
Date: Wed Apr 11 15:48:50 2012
New Revision: 234139
URL: http://svn.freebsd.org/changeset/base/234139
Log:
Restore the blank line incorrectly removed in r234104.
Pointed out by: bde
Modified:
head/sys/fs/ext2fs/ext2_vnops.c
Modified: head/sys/fs/ext2fs/ext2_vnops.c
Author: jh
Date: Tue Apr 10 15:59:37 2012
New Revision: 234103
URL: http://svn.freebsd.org/changeset/base/234103
Log:
- Return EPERM from ufs_setattr() when an user without PRIV_VFS_SYSFLAGS
privilege attempts to toggle SF_SETTABLE flags.
- Use the '^' operator in the SF_SNAPSHOT
Author: jh
Date: Tue Apr 10 16:05:52 2012
New Revision: 234104
URL: http://svn.freebsd.org/changeset/base/234104
Log:
Apply changes from r233787 to ext2fs:
- Use more natural ip-i_flags instead of vap-va_flags in the final
flags check.
- Style improvements.
No functional change
Hi,
On 2012-04-06, Justin T. Gibbs wrote:
Fix interrupt load balancing regression, introduced in revision
222813, that left all un-pinned interrupts assigned to CPU 0.
sys/x86/x86/intr_machdep.c:
In intr_shuffle_irqs(), remove CPU_SETOF() call that initialized
the
On 2012-04-09, John Baldwin wrote:
I suspect in your case intr_add_cpu() is never called. I think Attilio is
not
correct in that it is not called for the BSP.
Yes, it is not called for the BSP in set_interrupt_apic_ids(). This used to
work because bit 0 was assigned statically. Also,
Author: jh
Date: Wed Apr 4 14:50:21 2012
New Revision: 233875
URL: http://svn.freebsd.org/changeset/base/233875
Log:
Add a check for unsupported file flags to ufs_setattr().
Discussed with: bde
MFC after:2 weeks
Modified:
head/sys/ufs/ufs/ufs_vnops.c
Modified:
Author: jh
Date: Mon Apr 2 16:33:21 2012
New Revision: 233787
URL: http://svn.freebsd.org/changeset/base/233787
Log:
- Use more natural ip-i_flags instead of vap-va_flags in the final
flags check.
- Add a comment for the immutable/append check done after handling of
the flags.
-
Author: jh
Date: Sun Apr 1 08:40:52 2012
New Revision: 233755
URL: http://svn.freebsd.org/changeset/base/233755
Log:
MFC r232450:
Use snprintf(3) constantly when generating CAM error messages.
PR: bin/57088
Modified:
stable/9/lib/libcam/camlib.c
Directory Properties:
Hi,
On 2012-03-24, Dimitry Andric wrote:
Fix the following clang warning in sys/dev/dcons/dcons.c, caused by the
recent changes in sys/x86/include/endian.h:
sys/dev/dcons/dcons.c:190:15: error: implicit conversion from
'__uint32_t' (aka 'unsigned int') to '__uint16_t' (aka
Author: jh
Date: Tue Mar 27 14:01:09 2012
New Revision: 233543
URL: http://svn.freebsd.org/changeset/base/233543
Log:
MFC r233126:
Cast wallclock.tv_sec to uint64_t to avoid overflow in the calculation.
PR: kern/161552
Modified:
stable/9/sys/kern/kern_racct.c
Directory
Author: jh
Date: Wed Mar 21 16:16:59 2012
New Revision: 233281
URL: http://svn.freebsd.org/changeset/base/233281
Log:
MFC r232975: Add an assert for proctree_lock to proc_to_reap().
Modified:
stable/9/sys/kern/kern_exit.c
Directory Properties:
stable/9/sys/ (props changed)
Author: jh
Date: Sun Mar 18 19:13:32 2012
New Revision: 233126
URL: http://svn.freebsd.org/changeset/base/233126
Log:
Cast wallclock.tv_sec to uint64_t to avoid overflow in the calculation.
PR: kern/161552
Reviewed by: trasz
Tested by:Nikos Vassiliadis
MFC after:1
On 2012-03-18, Kevin Lo wrote:
MFC r232483:
Clean up style(9) nits
Directory Properties:
stable/9/sys/fs/ (props changed)
stable/9/sys/fs/ntfs/ (props changed)
This should have been merged to stable/9/sys/. Also, r232995
incorrectly recorded mergeinfo to
Author: jh
Date: Wed Mar 14 15:52:23 2012
New Revision: 232975
URL: http://svn.freebsd.org/changeset/base/232975
Log:
Add an assert for proctree_lock to proc_to_reap().
Discussed with: kib
MFC after:1 week
Modified:
head/sys/kern/kern_exit.c
Modified:
Author: jh
Date: Sat Mar 10 08:27:37 2012
New Revision: 232775
URL: http://svn.freebsd.org/changeset/base/232775
Log:
MFC r232102: Exit with proper status when wake() fails.
PR: bin/153527
Modified:
stable/9/usr.sbin/wake/wake.c
Directory Properties:
stable/9/usr.sbin/wake/
1 - 100 of 424 matches
Mail list logo