Author: jh
Date: Wed Sep 15 14:23:55 2010
New Revision: 212660
URL: http://svn.freebsd.org/changeset/base/212660
Log:
Remove empty devfs directories automatically.
devfs_delete() now recursively removes empty parent directories unless
the DEVFS_DEL_NORECURSE flag is specified. devfs_delet
Author: jh
Date: Sat Sep 18 18:37:41 2010
New Revision: 212826
URL: http://svn.freebsd.org/changeset/base/212826
Log:
- For consistency, remove "." and ".." entries from de_dlist before
calling devfs_delete() (and thus possibly dropping dm_lock) in
devfs_rmdir_empty().
- Assert that we
Author: jh
Date: Tue Sep 21 16:49:02 2010
New Revision: 212966
URL: http://svn.freebsd.org/changeset/base/212966
Log:
Modify devfs_fqpn() for future use in devfs path reference counting
code:
- Accept devfs_mount and devfs_dirent as the arguments instead of a
vnode. This generalizes t
Author: jh
Date: Sun Sep 26 16:52:05 2010
New Revision: 213186
URL: http://svn.freebsd.org/changeset/base/213186
Log:
MFC r211873:
Don't attempt to write label with GEOM_BSD based method if the class is
not available. This improves error reporting when bsdlabel(8) is unable
to open a de
else if (de->de_dirent->d_type == DT_DIR)
Added: head/sys/fs/devfs/devfs_dir.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/fs/devfs/devfs_dir.c Mon Sep 27 17:47:09 2010
(r213215)
@@ -0,0 +1,175 @@
+/*-
+ * Copyright (c)
Author: jh
Date: Mon Sep 27 18:20:56 2010
New Revision: 213221
URL: http://svn.freebsd.org/changeset/base/213221
Log:
Add a new function devfs_dev_exists() to be able to find out if a
specific devfs path already exists.
The function will be used from kern_conf.c to detect duplicate device
Author: jh
Date: Wed Sep 29 14:36:25 2010
New Revision: 213273
URL: http://svn.freebsd.org/changeset/base/213273
Log:
MFC r209168:
Update vfs_busy(9) and vfs_unbusy(9) manual pages to better match the
current behaviour of the functions.
Modified:
stable/8/share/man/man9/vfs_busy.9
st
Author: jh
Date: Thu Sep 30 13:31:35 2010
New Revision: 213298
URL: http://svn.freebsd.org/changeset/base/213298
Log:
Fix printing of the "rw" mount option in fstab(5) format (-p option).
fstab(5) format requires that one of "rw", "rq" or "ro" is always
specified.
PR: bin/1230
Author: jh
Date: Thu Oct 7 18:00:55 2010
New Revision: 213526
URL: http://svn.freebsd.org/changeset/base/213526
Log:
Check the device name validity on device registration.
A new function prep_devname() sanitizes a device name by removing
leading and redundant sequential slashes. The func
Author: jh
Date: Sun Oct 10 09:24:19 2010
New Revision: 213668
URL: http://svn.freebsd.org/changeset/base/213668
Log:
- Print the nmount(2) provided error message only when it is set.
- Ensure that the error message is NUL-terminated before printing it.
PR: bin/147482
MFC afte
Author: jh
Date: Mon Oct 11 13:31:09 2010
New Revision: 213690
URL: http://svn.freebsd.org/changeset/base/213690
Log:
MFC r200752:
Avoid sharing the file descriptor of the output file with traced
processes by setting the FD_CLOEXEC flag for the output file.
PR: bin/140493
Author: jh
Date: Tue Oct 12 15:58:52 2010
New Revision: 213725
URL: http://svn.freebsd.org/changeset/base/213725
Log:
Format prototypes to follow style(9) more closely.
Discussed with: kib, phk
Modified:
head/sys/fs/devfs/devfs.h
head/sys/fs/devfs/devfs_int.h
Modified: head/sys/
Author: jh
Date: Wed Oct 13 14:02:45 2010
New Revision: 213776
URL: http://svn.freebsd.org/changeset/base/213776
Log:
MFC r200036 by scottl:
Fix several cases where the periph lock was held over malloc.
PR: kern/130735
Modified:
stable/8/sys/cam/scsi/scsi_cd.c
Directory Pr
Author: jh
Date: Thu Oct 14 14:48:11 2010
New Revision: 213835
URL: http://svn.freebsd.org/changeset/base/213835
Log:
Add FreeBSD 8.2.
Reviewed by: ru
MFC after:3 days
Modified:
head/gnu/usr.bin/groff/tmac/mdoc.local
Modified: head/gnu/usr.bin/groff/tmac/mdoc.local
==
Author: jh
Date: Thu Oct 14 18:02:31 2010
New Revision: 213843
URL: http://svn.freebsd.org/changeset/base/213843
Log:
MFC r200036 by scottl:
Fix several cases where the periph lock was held over malloc.
PR: kern/130735
Modified:
stable/7/sys/cam/scsi/scsi_cd.c
Directory Pr
Author: jh
Date: Sun Oct 17 11:40:29 2010
New Revision: 213951
URL: http://svn.freebsd.org/changeset/base/213951
Log:
MFC r213835: Add FreeBSD 8.2.
Modified:
stable/8/gnu/usr.bin/groff/tmac/mdoc.local
Directory Properties:
stable/8/gnu/usr.bin/groff/ (props changed)
Modified: stable/8/gn
Author: jh
Date: Sun Oct 17 14:48:53 2010
New Revision: 213978
URL: http://svn.freebsd.org/changeset/base/213978
Log:
MFC r213298:
Fix printing of the "rw" mount option in fstab(5) format (-p option).
fstab(5) format requires that one of "rw", "rq" or "ro" is always
specified.
PR:
Author: jh
Date: Mon Oct 18 14:36:51 2010
New Revision: 214023
URL: http://svn.freebsd.org/changeset/base/214023
Log:
Remove incorrectly placed mergeinfo. This is a direct commit to stable/7.
Modified:
Directory Properties:
stable/7/sbin/mount/mount_fs.c (props changed)
Author: jh
Date: Mon Oct 18 14:40:48 2010
New Revision: 214024
URL: http://svn.freebsd.org/changeset/base/214024
Log:
MFC r213298:
Fix printing of the "rw" mount option in fstab(5) format (-p option).
fstab(5) format requires that one of "rw", "rq" or "ro" is always
specified.
PR:
On 2010-10-14, David E. O'Brien wrote:
> MFC r212770 & r212832:
> + Add the SCRIPT environmental variable to the sub-shell.
> + Add the 'command' argument (if supplied on the command line)
> to the typescript file.
I don't think that this commit placed mergeinfo correctly. The merg
Author: jh
Date: Tue Oct 19 16:48:49 2010
New Revision: 214063
URL: http://svn.freebsd.org/changeset/base/214063
Log:
Use make_dev_p(9) with the MAKEDEV_CHECKNAME flag instead of make_dev(9)
and print a diagnostic if the call fails.
This avoids a panic when a device with an invalid name i
On 2010-10-21, Benedict Reuschling wrote:
> Document strtonum()s behavior of setting errno to 0 when no error is found.
strtonum(3) doesn't behave like this. Anyway setting errno to 0 in a
library function would violate the C99 standard.
%%%
#include
#include
#include
#include
int
main()
{
Author: jh
Date: Sun Oct 24 15:56:21 2010
New Revision: 214277
URL: http://svn.freebsd.org/changeset/base/214277
Log:
Document make_dev_p(9).
Reviewed by: brueffer, kib
Modified:
head/share/man/man9/Makefile
head/share/man/man9/make_dev.9
Modified: head/share/man/man9/Makefile
==
Author: jh
Date: Sun Oct 24 16:10:32 2010
New Revision: 214278
URL: http://svn.freebsd.org/changeset/base/214278
Log:
Use .Dv with NULL.
Modified:
head/share/man/man9/make_dev.9
Modified: head/share/man/man9/make_dev.9
=
Author: jh
Date: Wed Oct 27 14:08:37 2010
New Revision: 214418
URL: http://svn.freebsd.org/changeset/base/214418
Log:
Add missing "readahead" to the nfs_opts list.
PR: 151321
Tested by:Simon Walton
MFC after:2 weeks
Modified:
head/sys/nfsclient/nfs_vfsops.c
Modifie
Author: jh
Date: Wed Oct 27 14:11:11 2010
New Revision: 214419
URL: http://svn.freebsd.org/changeset/base/214419
Log:
Correct a typo.
PR: 151321
Submitted by: Simon Walton
MFC after:3 days
Modified:
head/sbin/mount_nfs/mount_nfs.c
Modified: head/sbin/mount_nfs/mount_nf
Author: jh
Date: Fri Oct 29 15:03:29 2010
New Revision: 214514
URL: http://svn.freebsd.org/changeset/base/214514
Log:
- Note that non-superusers are not allowed to set the SF_ARCHIVED
flag. [1]
- Note that also fchflags(2) will return EPERM for attempts to set or
unset the SF_SNAPSHOT
Author: jh
Date: Mon Nov 1 06:17:02 2010
New Revision: 214618
URL: http://svn.freebsd.org/changeset/base/214618
Log:
MFC r213668:
- Print the nmount(2) provided error message only when it is set.
- Ensure that the error message is NUL-terminated before printing it.
PR: bin
Author: jh
Date: Mon Nov 1 06:19:44 2010
New Revision: 214619
URL: http://svn.freebsd.org/changeset/base/214619
Log:
MFC r214419: Correct a typo.
PR: 151321
Modified:
stable/8/sbin/mount_nfs/mount_nfs.c
Directory Properties:
stable/8/sbin/mount_nfs/ (props changed)
Modifi
Author: jh
Date: Tue Nov 22 16:44:50 2011
New Revision: 227823
URL: http://svn.freebsd.org/changeset/base/227823
Log:
Append unit number to the WMI status device name to allow attaching
multiple acpi_wmi(4) instances.
PR: kern/162491
Reviewed by: avg
Modified:
head/share/m
Author: jh
Date: Sun Nov 27 13:53:36 2011
New Revision: 228021
URL: http://svn.freebsd.org/changeset/base/228021
Log:
Add LINT-NOINET LINT-NOINET6 and LINT-NOIP to the make clean target.
This was missed in r221353.
Modified:
head/sys/conf/makeLINT.mk
Modified: head/sys/conf/makeLINT.mk
===
On 2011-11-28, Bjoern A. Zeeb wrote:
> > static void
> > if_clone_free(struct if_clone *ifc)
> > {
> > - for (int bytoff = 0; bytoff < ifc->ifc_bmlen; bytoff++) {
> > - KASSERT(ifc->ifc_units[bytoff] == 0x00,
> > - ("ifc_units[%d] is not empty", bytoff));
> > - }
> >
>
Author: jh
Date: Wed Nov 30 20:08:30 2011
New Revision: 228163
URL: http://svn.freebsd.org/changeset/base/228163
Log:
Add an entry for r227823.
Modified:
head/UPDATING
Modified: head/UPDATING
==
--- head/UPDATING
Author: jh
Date: Fri Dec 9 13:15:19 2011
New Revision: 228358
URL: http://svn.freebsd.org/changeset/base/228358
Log:
- Fix markup.
- Remove trailing whitespace.
Modified:
head/share/man/man9/sbuf.9
Modified: head/share/man/man9/sbuf.9
==
Author: jh
Date: Fri Dec 9 13:28:41 2011
New Revision: 228359
URL: http://svn.freebsd.org/changeset/base/228359
Log:
sbuf_data() hasn't returned NULL for overflowed buffers since r71721.
Modified:
head/share/man/man9/sbuf.9
Modified: head/share/man/man9/sbuf.9
==
Author: jh
Date: Wed Dec 21 17:03:30 2011
New Revision: 228784
URL: http://svn.freebsd.org/changeset/base/228784
Log:
Follow style(9) more closely in the example.
Modified:
head/share/man/man9/sbuf.9
Modified: head/share/man/man9/sbuf.9
===
Author: jh
Date: Wed Nov 3 16:19:35 2010
New Revision: 214748
URL: http://svn.freebsd.org/changeset/base/214748
Log:
Extend the g_eventlock mutex coverage in one_event() to include setting
of the EV_DONE flag and use the mutex to protect against losing wakeups
in g_waitfor_event().
Rep
Author: jh
Date: Fri Nov 5 16:04:10 2010
New Revision: 214839
URL: http://svn.freebsd.org/changeset/base/214839
Log:
MFC r212505:
In backup_kernel(), support backing up subdirectories and handle files
with spaces correctly.
Modified:
stable/8/usr.sbin/freebsd-update/freebsd-update.sh
Author: jh
Date: Sun Nov 7 14:28:01 2010
New Revision: 214917
URL: http://svn.freebsd.org/changeset/base/214917
Log:
Add missing curly brackets. By chance, the missing brackets didn't alter
the code behavior.
Submitted by: Lucius Windschuh
Modified:
head/sys/kern/kern_conf.c
Modified
Author: jh
Date: Wed Nov 10 17:17:38 2010
New Revision: 215091
URL: http://svn.freebsd.org/changeset/base/215091
Log:
MFC r214418: Add missing "readahead" to the nfs_opts list.
PR: 151321
Modified:
stable/8/sys/nfsclient/nfs_vfsops.c
Directory Properties:
stable/8/sys/ (pro
Author: jh
Date: Sat Nov 13 09:28:49 2010
New Revision: 215235
URL: http://svn.freebsd.org/changeset/base/215235
Log:
Set FD_CLOEXEC for the output file only when the file has been specified
with the -o option. Setting the flag for stderr (the default) could
cause the traced process to redir
Author: jh
Date: Thu Nov 18 19:06:56 2010
New Revision: 215466
URL: http://svn.freebsd.org/changeset/base/215466
Log:
MFC r215235:
Set FD_CLOEXEC for the output file only when the file has been specified
with the -o option. Setting the flag for stderr (the default) could
cause the trace
Author: jh
Date: Thu Nov 18 19:08:56 2010
New Revision: 215467
URL: http://svn.freebsd.org/changeset/base/215467
Log:
MFC r215235:
Set FD_CLOEXEC for the output file only when the file has been specified
with the -o option. Setting the flag for stderr (the default) could
cause the trace
Author: jh
Date: Mon Nov 22 16:47:53 2010
New Revision: 215687
URL: http://svn.freebsd.org/changeset/base/215687
Log:
Use g_eventlock to protect against losing wakeups in the g_event process
and replace tsleep(9) with msleep(9) which doesn't use a timeout. The
previously used timeout caused
Author: jh
Date: Wed Dec 1 19:24:07 2010
New Revision: 216098
URL: http://svn.freebsd.org/changeset/base/216098
Log:
- Report an error when a label with invalid name is attempted to be
created with glabel(8).
- Fix a typo in an error message.
- Fix comment typos.
Approved by: pjd
Author: jh
Date: Sat Dec 4 08:44:56 2010
New Revision: 216177
URL: http://svn.freebsd.org/changeset/base/216177
Log:
Remove stale link.
PR: 151252
Modified:
head/lib/libgeom/libgeom.3
Modified: head/lib/libgeom/libgeom.3
===
Author: jh
Date: Mon Dec 6 09:18:11 2010
New Revision: 216224
URL: http://svn.freebsd.org/changeset/base/216224
Log:
Don't write the terminating NUL past end of buffer.
PR: bin/152345
Submitted by: Mateusz Guzik
Modified:
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin
Author: jh
Date: Sun Dec 12 08:52:13 2010
New Revision: 216391
URL: http://svn.freebsd.org/changeset/base/216391
Log:
Handle the special ruleset 0 in devfs_ruleset_use(). An attempt set the
current ruleset to 0 with command "devfs ruleset 0" triggered a KASSERT
in devfs_ruleset_create().
Author: jh
Date: Wed Dec 15 16:42:44 2010
New Revision: 216461
URL: http://svn.freebsd.org/changeset/base/216461
Log:
- Assert that dm_lock is exclusively held in devfs_rules_apply() and
in devfs_vmkdir() while adding the entry to de_list of the parent.
- Apply devfs rules to newly created
Author: jh
Date: Wed Dec 15 16:49:47 2010
New Revision: 216462
URL: http://svn.freebsd.org/changeset/base/216462
Log:
Don't allow user created symbolic links to cover another entries marked
with DE_USER. If a devfs rule hid such entry, it was possible to create
infinite number of symbolic li
On 2010-12-15, Jaakko Heinonen wrote:
> - Assert that dm_lock is exclusively held in devfs_rules_apply() and
> in devfs_vmkdir() while adding the entry to de_list of the parent.
> - Apply devfs rules to newly created directories and symbolic links.
>
> PR:
Author: jh
Date: Thu Dec 16 16:56:44 2010
New Revision: 216489
URL: http://svn.freebsd.org/changeset/base/216489
Log:
If dlclose() is called recursively from a _fini() function, the inner
dlclose() call may unload the object of the outer call prematurely
because objects are unreferenced befo
On 2009-08-30, Jonathan Chen wrote:
> New Revision: 196650
>
> Prevents pam_lastlog from segfaulting on session close when tty is null.
Thanks! This is PR bin/112694.
--
Jaakko
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailma
burkholder\nj...@freebsd.org\n2000/05/16"]
jamie [label="Jamie gritton\nja...@freebsd.org\n2009/01/28"]
jayanth [label="Jayanth vijayaraghavan\njaya...@freebsd.org\n2000/05/08"]
+jh [label="Jaakko heinonen\...@freebsd.org\n2009/10/02"]
jilles [label="Jilles
Author: jh
Date: Wed Oct 7 13:25:22 2009
New Revision: 197833
URL: http://svn.freebsd.org/changeset/base/197833
Log:
When run() returns an error, print the error message also in
non-interactive mode. Previously error messages were printed only in
interactive mode.
PR: bin/124
Author: jh
Date: Sun Oct 11 12:32:25 2009
New Revision: 197956
URL: http://svn.freebsd.org/changeset/base/197956
Log:
- Catch SIGHUP to perform cleanup before exiting.
- Exit if getch() returns with an error other than EINTR. Otherwise
systat(1) may get stuck in an infinite loop if it does
Author: jh
Date: Fri Oct 16 20:52:45 2009
New Revision: 198175
URL: http://svn.freebsd.org/changeset/base/198175
Log:
- If lstat()/stat() fails with an error other than ENOENT, don't ignore
the error and assume that the file doesn't exist. Touch could return
success with -c option even i
Author: jh
Date: Tue Oct 20 15:01:46 2009
New Revision: 198290
URL: http://svn.freebsd.org/changeset/base/198290
Log:
Fix ordering of nfscl_modevent() and ncl_uninit(). nfscl_modevent() must
be called after ncl_uninit() when unloading the nfscl module because
ncl_uninit() uses ncl_iod_mutex
Author: jh
Date: Tue Oct 20 14:57:26 2009
New Revision: 198289
URL: http://svn.freebsd.org/changeset/base/198289
Log:
Fix comment typos.
Reviewed by: rmacklem
Approved by: trasz (mentor)
Modified:
head/sys/fs/nfsclient/nfs_clstate.c
Modified: head/sys/fs/nfsclient/nfs_clstate.c
Author: jh
Date: Tue Oct 20 15:06:18 2009
New Revision: 198291
URL: http://svn.freebsd.org/changeset/base/198291
Log:
Unloading of the nfscl module is unsupported because newnfslock doesn't
support unloading. It's not trivial to implement newnfslock unloading so
for now just admit that unloa
Author: jh
Date: Mon Oct 26 14:57:33 2009
New Revision: 198491
URL: http://svn.freebsd.org/changeset/base/198491
Log:
Fix parsing of mount options specified with -o in case an option with
value is preceded by an option without value (for example -o
option1,option2=value). Options must be sep
Author: jh
Date: Tue Oct 27 17:12:59 2009
New Revision: 198519
URL: http://svn.freebsd.org/changeset/base/198519
Log:
Don't ignore the return value of g_modevent() in acd_modevent().
Approved by: trasz (mentor)
Modified:
head/sys/dev/ata/atapi-cd.c
Modified: head/sys/dev/ata/atapi-cd.c
Author: jh
Date: Tue Oct 27 17:14:22 2009
New Revision: 198520
URL: http://svn.freebsd.org/changeset/base/198520
Log:
Don't ignore the return value of g_modevent() in fdc_modevent().
Approved by: trasz (mentor)
Modified:
head/sys/dev/fdc/fdc.c
Modified: head/sys/dev/fdc/fdc.c
=
Author: jh
Date: Tue Nov 3 19:05:05 2009
New Revision: 198857
URL: http://svn.freebsd.org/changeset/base/198857
Log:
fdc(4) module unload fixes:
- Tear down the interrupt handler before killing the worker thread.
- Do geom withering as GEOM event to avoid acquiring the GEOM topology
Hi,
On 2011-08-11, Robert Watson wrote:
> Second-to-last commit implementing Capsicum capabilities in the FreeBSD
> kernel for FreeBSD 9.0:
This commit seems to have broken nfsd for me.
> Modified: head/sys/fs/nfsserver/nfs_nfsdport.c
> ==
On 2011-08-16, Jonathan Anderson wrote:
> Fixed in r224911.
Thanks!
> On 16 August 2011 14:57, Jonathan Anderson wrote:
> > It looks like r224086 added "goto out" error handling, so our "return
> > (error)" seems to be a merge conflict.
--
Jaakko
___
Author: jh
Date: Wed Aug 17 15:19:25 2011
New Revision: 224944
URL: http://svn.freebsd.org/changeset/base/224944
Log:
MFC r218410: Handle EOF when skipping lines.
Modified:
stable/8/usr.bin/rs/rs.c
Directory Properties:
stable/8/usr.bin/rs/ (props changed)
Modified: stable/8/usr.bin/rs/r
Author: jh
Date: Wed Aug 17 15:22:58 2011
New Revision: 224945
URL: http://svn.freebsd.org/changeset/base/224945
Log:
MFC r218411:
- Use LINE_MAX from limits.h as the maximum line length instead of
BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE).
- Error out if we encounter a line
Author: jh
Date: Wed Aug 17 15:24:25 2011
New Revision: 224946
URL: http://svn.freebsd.org/changeset/base/224946
Log:
MFC r219038: Document the input line length limit.
Modified:
stable/8/usr.bin/rs/rs.1
Directory Properties:
stable/8/usr.bin/rs/ (props changed)
Modified: stable/8/usr.bi
Author: jh
Date: Sat Aug 20 15:21:02 2011
New Revision: 225039
URL: http://svn.freebsd.org/changeset/base/225039
Log:
MFC r208717:
Don't try to call cdevsw d_close() method when devfs_close() is called
because of insmntque1() failure.
Modified:
stable/7/sys/fs/devfs/devfs_vnops.c
Direc
Author: jh
Date: Fri Sep 2 19:29:37 2011
New Revision: 225353
URL: http://svn.freebsd.org/changeset/base/225353
Log:
Restore behavior of the autoboot_delay="-1" boot menu setting to the
pre-r222417 state. The behavior was essentially reversed in r222417
which can cause confusion.
PR:
Author: jh
Date: Thu Sep 15 13:32:43 2011
New Revision: 225587
URL: http://svn.freebsd.org/changeset/base/225587
Log:
Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/log
as a symbolic link.
PR: conf/160711
Submitted by: Jase Thew
Approved by: re (kib)
Author: jh
Date: Thu Sep 22 17:59:33 2011
New Revision: 225731
URL: http://svn.freebsd.org/changeset/base/225731
Log:
MFC r225587:
Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/log
as a symbolic link.
PR: conf/160711
Modified:
stable/8/etc/defaults
Author: jh
Date: Thu Sep 22 18:21:15 2011
New Revision: 225732
URL: http://svn.freebsd.org/changeset/base/225732
Log:
MFC r225587:
Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/log
as a symbolic link.
PR: conf/160711
Modified:
stable/7/etc/defaults
Author: jh
Date: Fri Oct 7 14:27:20 2011
New Revision: 226106
URL: http://svn.freebsd.org/changeset/base/226106
Log:
MFC r218410: Handle EOF when skipping lines.
Modified:
stable/7/usr.bin/rs/rs.c
Directory Properties:
stable/7/usr.bin/rs/ (props changed)
Modified: stable/7/usr.bin/rs/r
Author: jh
Date: Fri Oct 7 14:29:15 2011
New Revision: 226107
URL: http://svn.freebsd.org/changeset/base/226107
Log:
MFC r218411:
- Use LINE_MAX from limits.h as the maximum line length instead of
BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE).
- Error out if we encounter a line
Author: jh
Date: Fri Oct 7 14:30:45 2011
New Revision: 226108
URL: http://svn.freebsd.org/changeset/base/226108
Log:
MFC r219038: Document the input line length limit.
Modified:
stable/7/usr.bin/rs/rs.1
Directory Properties:
stable/7/usr.bin/rs/ (props changed)
Modified: stable/7/usr.bi
Hi,
On 2011-10-08, Dag-Erling Smorgrav wrote:
> Fix casting.
>
> Modified: head/usr.bin/kdump/kdump.c
> ==
> --- head/usr.bin/kdump/kdump.cSat Oct 8 12:10:16 2011
> (r226150)
> +++ head/usr.bin/kdump/k
On 2011-10-11, Dag-Erling Smørgrav wrote:
> Jaakko Heinonen writes:
> > Dag-Erling Smorgrav writes:
> > > +#define print_number(i,n,c) \
> > > + do {\
On 2011-10-11, Dag-Erling Smørgrav wrote:
> @@ -113,6 +114,8 @@
> #define print_number(i,n,c) do { \
> if (decimal)\
> printf("%c%jd", c, (intmax_t)*i); \
> + else if (sizeof(*i) == sizeof
Author: jh
Date: Mon Jan 3 17:17:31 2011
New Revision: 216922
URL: http://svn.freebsd.org/changeset/base/216922
Log:
Increase carried_error if we skip a file due to an error. This ensures
that setfacl(1) exits with proper exit status on failure.
PR: bin/149780
Submitted by: Æ
On 2011-01-04, John Baldwin wrote:
> Err, no, the point of NOTREACHED is to serve as documentation for lint(1), but
> that has subsequently been obsoleted by __dead2.
style(9) is out of date then?
--
Jaakko
___
svn-src-all@freebsd.org mailing list
http
Author: jh
Date: Fri Jan 7 10:59:22 2011
New Revision: 217090
URL: http://svn.freebsd.org/changeset/base/217090
Log:
Warn if rules could not be read from a ruleset file. Now at least
something gets logged if the file has syntax errors.
PR: conf/91342
Silence on: freebsd-rc
Hi,
On 2011-01-07, Doug Barton wrote:
> If by silence you mean that there was no comment on the PR in the future
> please don't take that as tacit approval. There are a non-trivial number
> of PRs assigned to -rc, and historically the practice has been not to
> comment on them until someone in
Author: jh
Date: Sun Jan 9 09:21:11 2011
New Revision: 217187
URL: http://svn.freebsd.org/changeset/base/217187
Log:
Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 and
mount(8) has supported newnfs since r192930.
PR: conf/153655
Submitted by: Anonymous
Author: jh
Date: Fri Jan 14 11:12:56 2011
New Revision: 217392
URL: http://svn.freebsd.org/changeset/base/217392
Log:
MFC r214748:
Extend the g_eventlock mutex coverage in one_event() to include setting
of the EV_DONE flag and use the mutex to protect against losing wakeups
in g_waitfor
Author: jh
Date: Sat Jan 15 09:36:31 2011
New Revision: 217443
URL: http://svn.freebsd.org/changeset/base/217443
Log:
MFC r214748:
Extend the g_eventlock mutex coverage in one_event() to include setting
of the EV_DONE flag and use the mutex to protect against losing wakeups
in g_waitfor
Author: jh
Date: Tue Jan 18 16:49:51 2011
New Revision: 217544
URL: http://svn.freebsd.org/changeset/base/217544
Log:
MFC r205682:
Support only LOOKUP operation for "/" in relookup() because lookup()
can't succeed for CREATE, DELETE and RENAME.
Modified:
stable/8/sys/kern/vfs_lookup.c
Author: jh
Date: Sat Jan 22 15:19:25 2011
New Revision: 217719
URL: http://svn.freebsd.org/changeset/base/217719
Log:
Fix typos.
Modified:
head/share/man/man9/make_dev.9
Modified: head/share/man/man9/make_dev.9
==
--
Author: jh
Date: Mon Jan 24 17:08:26 2011
New Revision: 217792
URL: http://svn.freebsd.org/changeset/base/217792
Log:
Replace spaces with tabs.
Modified:
head/sys/kern/vfs_mount.c
Modified: head/sys/kern/vfs_mount.c
Author: jh
Date: Tue Feb 1 16:11:31 2011
New Revision: 218172
URL: http://svn.freebsd.org/changeset/base/218172
Log:
MFC r216922:
Increase carried_error if we skip a file due to an error. This ensures
that setfacl(1) exits with proper exit status on failure.
PR: bin/149780
Author: jh
Date: Wed Feb 2 17:31:01 2011
New Revision: 218197
URL: http://svn.freebsd.org/changeset/base/218197
Log:
MFC r217187:
Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 and
mount(8) has supported newnfs since r192930.
PR: conf/153655
Modified
Author: jh
Date: Mon Feb 7 18:05:56 2011
New Revision: 218410
URL: http://svn.freebsd.org/changeset/base/218410
Log:
Handle EOF when skipping lines.
Modified:
head/usr.bin/rs/rs.c
Modified: head/usr.bin/rs/rs.c
==
-
Author: jh
Date: Mon Feb 7 18:10:18 2011
New Revision: 218411
URL: http://svn.freebsd.org/changeset/base/218411
Log:
- Use LINE_MAX from limits.h as the maximum line length instead of
BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE).
- Error out if we encounter a line longer than LINE_
Author: jh
Date: Wed Feb 9 15:55:48 2011
New Revision: 218489
URL: http://svn.freebsd.org/changeset/base/218489
Log:
MFC r217090:
Warn if rules could not be read from a ruleset file. Now at least
something gets logged if the file has syntax errors.
PR: conf/91342
Modified
Author: jh
Date: Fri Feb 11 10:06:49 2011
New Revision: 218549
URL: http://svn.freebsd.org/changeset/base/218549
Log:
MFC r217090:
Warn if rules could not be read from a ruleset file. Now at least
something gets logged if the file has syntax errors.
PR: conf/91342
Modified
Author: jh
Date: Sat Feb 19 14:27:14 2011
New Revision: 218852
URL: http://svn.freebsd.org/changeset/base/218852
Log:
Don't restore old mount options and flags if VFS_MOUNT(9) succeeds but
vfs_export() fails. Restoring old options and flags after successful
VFS_MOUNT(9) call may cause the fi
Author: jh
Date: Mon Feb 21 16:30:27 2011
New Revision: 218919
URL: http://svn.freebsd.org/changeset/base/218919
Log:
MFC r216098:
- Report an error when a label with invalid name is attempted to be
created with glabel(8).
- Fix a typo in an error message.
- Fix comment typos.
Modi
Author: jh
Date: Mon Feb 21 16:33:01 2011
New Revision: 218920
URL: http://svn.freebsd.org/changeset/base/218920
Log:
MFC r216098:
- Report an error when a label with invalid name is attempted to be
created with glabel(8).
- Fix a typo in an error message.
- Fix comment typos.
Modi
Author: jh
Date: Tue Feb 22 15:31:40 2011
New Revision: 218951
URL: http://svn.freebsd.org/changeset/base/218951
Log:
Xref makefs(8).
PR: 154708
Submitted by: jhs
Modified:
head/sbin/newfs/newfs.8
Modified: head/sbin/newfs/newfs.8
1 - 100 of 446 matches
Mail list logo