Author: pjd
Date: Fri Dec 7 22:15:51 2012
New Revision: 243994
URL: http://svnweb.freebsd.org/changeset/base/243994
Log:
- Make socket_zone static - it is used only in this file.
- Update maxsockets on uma_zone_set_max().
Obtained from:WHEEL Systems
Modified:
Author: pjd
Date: Fri Dec 7 22:19:41 2012
New Revision: 243995
URL: http://svnweb.freebsd.org/changeset/base/243995
Log:
Style cleanups.
Modified:
head/sys/kern/kern_mbuf.c
Modified: head/sys/kern/kern_mbuf.c
==
Author: pjd
Date: Fri Dec 7 22:22:04 2012
New Revision: 243996
URL: http://svnweb.freebsd.org/changeset/base/243996
Log:
More style cleanups.
Modified:
head/sys/kern/kern_mbuf.c
Modified: head/sys/kern/kern_mbuf.c
Author: pjd
Date: Fri Dec 7 22:23:53 2012
New Revision: 243997
URL: http://svnweb.freebsd.org/changeset/base/243997
Log:
Make use of the fact that uma_zone_set_max(9) already returns actual limit
set.
Modified:
head/sys/kern/kern_mbuf.c
Modified: head/sys/kern/kern_mbuf.c
Author: pjd
Date: Fri Dec 7 22:27:13 2012
New Revision: 243998
URL: http://svnweb.freebsd.org/changeset/base/243998
Log:
Implemented uma_zone_set_warning(9) function that sets a warning, which
will be printed once the given zone becomes full and cannot allocate an
item. The warning will
Author: pjd
Date: Fri Dec 7 22:30:30 2012
New Revision: 243999
URL: http://svnweb.freebsd.org/changeset/base/243999
Log:
Configure UMA warnings for the following zones:
- unp_zone: kern.ipc.maxsockets limit reached
- socket_zone: kern.ipc.maxsockets limit reached
- zone_mbuf:
(file, crontab -u %s -r,
pwd-pw_name);
system(file);
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
Author: pjd
Date: Tue Dec 4 12:39:26 2012
New Revision: 243861
URL: http://svnweb.freebsd.org/changeset/base/243861
Log:
Change /usr/libexec/ld-elf.so.1 to point at ../../libexec/ld-elf.so.1
instead of /libexec/ld-elf.so.1. Below in the Makefile we execute
'chflags noschg
Author: pjd
Date: Tue Dec 4 12:51:33 2012
New Revision: 243862
URL: http://svnweb.freebsd.org/changeset/base/243862
Log:
Do not change entire BINDIR, it might be needed later, just change
symlink target.
MFC after:2 weeks
Modified:
head/libexec/rtld-elf/Makefile
Modified:
Author: pjd
Date: Tue Dec 4 14:36:01 2012
New Revision: 243864
URL: http://svnweb.freebsd.org/changeset/base/243864
Log:
Use absolute path for /usr/libexec/ld-elf.so.1 symlink.
Requested by: kan, kib
Use -h flags for chflags, so we won't remove 'schg' flag from system's
bugs in the
past.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgpNWN1t8Sura.pgp
Description: PGP signature
Author: pjd
Date: Fri Nov 30 22:23:23 2012
New Revision: 243715
URL: http://svnweb.freebsd.org/changeset/base/243715
Log:
Allow OpenSSL to use arc4random(3) on FreeBSD. arc4random(3) was modified
some time ago to use sysctl instead of /dev/random to get random data,
so is now much better
Author: pjd
Date: Fri Nov 30 22:49:28 2012
New Revision: 243719
URL: http://svnweb.freebsd.org/changeset/base/243719
Log:
IFp4 @208450:
Remove redundant call to AUDIT_ARG_UPATH1().
Path will be remembered by the following NDINIT(AUDITVNODE1) call.
Sponsored by: FreeBSD Foundation
Author: pjd
Date: Fri Nov 30 22:52:35 2012
New Revision: 243720
URL: http://svnweb.freebsd.org/changeset/base/243720
Log:
IFp4 @208381:
For VOP_GETATTR() we just need vnode to be shared-locked.
Sponsored by: FreeBSD Foundation (auditdistd)
MFC after:2 weeks
Modified:
Author: pjd
Date: Fri Nov 30 22:59:20 2012
New Revision: 243722
URL: http://svnweb.freebsd.org/changeset/base/243722
Log:
IFp4 @208382:
Currently on each record write we call VFS_STATFS() to get available space
on the file system as well as VOP_GETATTR() to get trail file size.
We
Author: pjd
Date: Fri Nov 30 23:03:51 2012
New Revision: 243723
URL: http://svnweb.freebsd.org/changeset/base/243723
Log:
IFp4 @208383:
Currently when we discover that trail file is greater than configured
limit we send AUDIT_TRIGGER_ROTATE_KERNEL trigger to the auditd daemon
once. If
Author: pjd
Date: Fri Nov 30 23:18:49 2012
New Revision: 243726
URL: http://svnweb.freebsd.org/changeset/base/243726
Log:
IFp4 @208451:
Fix path handling for *at() syscalls.
Before the change directory descriptor was totally ignored,
so the relative path argument was appended to
Author: pjd
Date: Fri Nov 30 23:21:55 2012
New Revision: 243727
URL: http://svnweb.freebsd.org/changeset/base/243727
Log:
IFp4 @208452:
Audit handling for missing events:
- AUE_READLINKAT
- AUE_FACCESSAT
- AUE_MKDIRAT
- AUE_MKFIFOAT
- AUE_MKNODAT
- AUE_SYMLINKAT
Sponsored
Author: pjd
Date: Thu Nov 29 08:06:23 2012
New Revision: 243669
URL: http://svnweb.freebsd.org/changeset/base/243669
Log:
- Use more appropriate loop (do { } while()) when generating ethernet address
for bridge interface.
- If we found a collision we can break the loop - only one
* of the change so that they can update their dependent limits as required.
*/
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgpr9xl1wZ8Pa.pgp
On Thu, Nov 29, 2012 at 09:52:08AM +0100, Pawel Jakub Dawidek wrote:
On Fri, Oct 19, 2012 at 10:15:32AM +, Andre Oppermann wrote:
Author: andre
Date: Fri Oct 19 10:15:32 2012
New Revision: 241726
URL: http://svn.freebsd.org/changeset/base/241726
Log:
Move UMA socket zone
Author: pjd
Date: Tue Nov 27 10:11:54 2012
New Revision: 243607
URL: http://svnweb.freebsd.org/changeset/base/243607
Log:
Style fixes (mostly whitespaces).
Modified:
head/sys/kern/kern_sig.c
Modified: head/sys/kern/kern_sig.c
Author: pjd
Date: Tue Nov 27 10:15:58 2012
New Revision: 243608
URL: http://svnweb.freebsd.org/changeset/base/243608
Log:
More style fixes.
Modified:
head/sys/kern/kern_sig.c
Modified: head/sys/kern/kern_sig.c
==
Author: pjd
Date: Tue Nov 27 10:16:48 2012
New Revision: 243609
URL: http://svnweb.freebsd.org/changeset/base/243609
Log:
Allow to modify kern.sugid_coredump and kern.corefile from loader.conf.
Obtained from:WHEEL Systems
Modified:
head/sys/kern/kern_sig.c
Modified:
Author: pjd
Date: Tue Nov 27 10:22:40 2012
New Revision: 243610
URL: http://svnweb.freebsd.org/changeset/base/243610
Log:
Allow to use kill(2) in capability mode, but process can send a signal only
to himself. For example abort(3) at first tries to do kill(getpid(), SIGABRT)
which was
Author: pjd
Date: Tue Nov 27 10:25:03 2012
New Revision: 243611
URL: http://svnweb.freebsd.org/changeset/base/243611
Log:
Regenerate after r243610.
Modified:
head/sys/kern/init_sysent.c
Modified: head/sys/kern/init_sysent.c
Author: pjd
Date: Tue Nov 27 10:32:35 2012
New Revision: 243612
URL: http://svnweb.freebsd.org/changeset/base/243612
Log:
- Add NOCAPCHECK flag to namei that allows lookup to work even if the process
is in capability mode.
- Add VN_OPEN_NOCAPCHECK flag for vn_open_cred() to will ne
Author: pjd
Date: Tue Nov 27 10:38:11 2012
New Revision: 243613
URL: http://svnweb.freebsd.org/changeset/base/243613
Log:
Add kern.capmode_coredump sysctl/tunable to allow processes in capability mode
to dump core.
Reviewed by: rwatson
Obtained from:WHEEL Systems
MFC after:
Author: pjd
Date: Tue Nov 27 16:23:12 2012
New Revision: 243617
URL: http://svnweb.freebsd.org/changeset/base/243617
Log:
Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined.
MFC after:2 weeks
Modified:
head/usr.bin/passwd/Makefile
Modified:
.
IllumOS 13887:196932ec9e6a and 13888:7204b3392a58
3236 zio nop-write
This is a nice change, although I don't understand why it depends on
compression being turned on. It won't save any space.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer
On Sun, Nov 25, 2012 at 06:21:52PM +0200, Konstantin Belousov wrote:
On Sat, Nov 24, 2012 at 11:24:08PM +0100, Pawel Jakub Dawidek wrote:
I think we should move zpfind_locked() under 'pid = PID_MAX':
sx_slock(allproc_lock);
if (pid = PID_MAX) {
p = pfind_locked(pid
Author: pjd
Date: Sun Nov 25 19:31:42 2012
New Revision: 243528
URL: http://svnweb.freebsd.org/changeset/base/243528
Log:
Look for zombie process only if we were given process id.
Reviewed by: kib
MFC after:2 weeks
X-MFC-after-or-with: 243142
Modified:
) {
p = pfind_tid_locked(pid);
} else {
p = NULL;
}
sx_sunlock(allproc_lock);
if (p == NULL)
return (ESRCH);
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http
and tabs count as one single field
separator.
That's very useful.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgpbEA1d9BfuP.pgp
Description
not rearm the callout if it is
already armed and the ticks is negative. Otherwise rearm it to fire
in abs(ticks) ticks in the future.
Can you document that in taskqueue(9)?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http
Author: pjd
Date: Sun Nov 18 12:57:32 2012
New Revision: 243224
URL: http://svnweb.freebsd.org/changeset/base/243224
Log:
Welcome Steven Hartland (smh) as a new src committer.
I'll be Steven's mentor with avg@ as co-mentor.
Steven is (and hopefully will be:)) working on storage-related
cmdtype; /* index identifying command */
+ signed char cmdtype;/* index identifying command */
Why not simply 'char'?
char rehash;/* if set, cd done since entry created */
char cmdname[]; /* name of command */
};
--
Pawel Jakub Dawidek
Sat Nov 3 09:18:37 2012
(r242511)
@@ -68,6 +68,7 @@ checkfilesys(const char *fname)
if (dosfs 0) {
perr(Can't open `%s', fname);
+ printf(\n);
Why not just add \n to perr()? Doesn't perr() print at stderr, not
stdout?
--
Pawel Jakub Dawidek
for you, so
all those three are redundant.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgphYrM4MOd7y.pgp
Description: PGP signature
Author: pjd
Date: Mon Nov 5 00:38:14 2012
New Revision: 242593
URL: http://svnweb.freebsd.org/changeset/base/242593
Log:
Revert r228695. We use __func__ here as a format to distinguish between
abort and assert. It would be cleaner to use NULL or here, but gcc
complains in both cases.
);
}
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgpPt4GNXdbtJ.pgp
Description: PGP signature
[...]
+dumpon -l);
[...]
+ if (verbose) {
+ printf(kernel dumps on );
+ }
[...]
Using -v in addition to -l seems to be changing the output, but neither
manual page nor usage mentions it.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD
-uio_offset, uiop-uio_resid);
+ SMBVDEBUG(ofs=%d,resid=%zd\n,(int)uiop-uio_offset, uiop-uio_resid);
While you are here, you may want to change the code to use %jd for
uio_offset and cast it to (intmax_t).
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer
to the previous 60-seconds scheduling method
unless there is any @every_second entries to conserve CPU cycles and
power.
On behalf of Mother Earth thank you:)
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I
;
- vfslocked = VFS_LOCK_GIANT(vp-v_mount);
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
;
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgpaiFdgspcVj.pgp
Description: PGP signature
Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgpUdMvAhNbDU.pgp
Description: PGP signature
/libc_arc4random.c.patch
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgp1TnfErVY2R.pgp
Description: PGP signature
ICRNL */
return (c);
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgpvP05TGTag7.pgp
Description: PGP signature
Author: pjd
Date: Mon Oct 1 05:43:24 2012
New Revision: 241083
URL: http://svn.freebsd.org/changeset/base/241083
Log:
- Enforce CAP_MKFIFO on mkfifoat(2), not on mknodat(2). Without this change
mkfifoat(2) was not restricted.
- Introduce CAP_MKNOD and enforce it on mknodat(2).
Author: pjd
Date: Fri Sep 28 08:22:51 2012
New Revision: 241022
URL: http://svn.freebsd.org/changeset/base/241022
Log:
Remove the topology lock from disk_gone(), it might be called with regular
mutexes held and the topology lock is an sx lock.
The topology lock was there to protect
Author: pjd
Date: Thu Sep 27 16:43:23 2012
New Revision: 241000
URL: http://svn.freebsd.org/changeset/base/241000
Log:
Revert r240931, as the previous comment was actually in sync with POSIX.
I have to note that POSIX is simply stupid in how it describes O_EXEC/fexecve
and friends. Yes,
On Wed, Sep 26, 2012 at 09:45:41PM +0200, Pawel Jakub Dawidek wrote:
On Wed, Sep 26, 2012 at 01:21:17PM -0600, Kenneth D. Merry wrote:
Ahh. How about using LIST_FOREACH_SAFE? Would that address the problem at
hand? Are there any other races in there?
It depends. If one geom can hold
On Tue, Sep 25, 2012 at 05:37:12PM -0600, Kenneth D. Merry wrote:
On Sat, Sep 22, 2012 at 12:41:49 +, Pawel Jakub Dawidek wrote:
Log:
Use the topology lock to protect list of providers while withering them.
It is possible that provider is destroyed while we are iterating over
-current I got stable panic at
the very last stage of reboot (after buffers syncing):
reboot after panic: mutex Giant owned at ../../../geom/geom_disk.c:638
using just plain AHCI disks perhaps attached to CAM.
Yes, that looks very related. Stay tuned.
--
Pawel Jakub Dawidek
; /* per-softc mutex */
+ struct cvtap_cv;/* protect ref'd dev destroy */
};
So maybe there is no need to add it?:)
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
On Wed, Sep 26, 2012 at 09:54:43AM +0200, Pawel Jakub Dawidek wrote:
On Tue, Sep 25, 2012 at 10:10:14PM +, Ed Maste wrote:
[...]
Note: if_tun had the same issue, addressed in SVN revisions r186391,
r186483 and r186497. The use of the condvar there appears to be
redundant
On Wed, Sep 26, 2012 at 11:29:17AM -0600, Kenneth D. Merry wrote:
On Wed, Sep 26, 2012 at 09:20:06 +0200, Pawel Jakub Dawidek wrote:
On Tue, Sep 25, 2012 at 05:37:12PM -0600, Kenneth D. Merry wrote:
On Sat, Sep 22, 2012 at 12:41:49 +, Pawel Jakub Dawidek wrote:
Log:
Use
On Wed, Sep 26, 2012 at 01:21:17PM -0600, Kenneth D. Merry wrote:
On Wed, Sep 26, 2012 at 20:53:39 +0200, Pawel Jakub Dawidek wrote:
On Wed, Sep 26, 2012 at 11:29:17AM -0600, Kenneth D. Merry wrote:
Here is what CAM needs at each step:
1. When a device goes away, we need a method
On Wed, Sep 26, 2012 at 01:58:20PM -0600, Kenneth D. Merry wrote:
On Wed, Sep 26, 2012 at 21:45:41 +0200, Pawel Jakub Dawidek wrote:
On Wed, Sep 26, 2012 at 01:21:17PM -0600, Kenneth D. Merry wrote:
On Wed, Sep 26, 2012 at 20:53:39 +0200, Pawel Jakub Dawidek wrote:
On Wed, Sep 26, 2012
Author: pjd
Date: Tue Sep 25 20:48:49 2012
New Revision: 240927
URL: http://svn.freebsd.org/changeset/base/240927
Log:
O_EXEC flag is not part of the O_ACCMODE mask, check it separately.
If O_EXEC is provided don't require CAP_READ/CAP_WRITE, as O_EXEC
is mutually exclusive to
Author: pjd
Date: Tue Sep 25 20:58:15 2012
New Revision: 240928
URL: http://svn.freebsd.org/changeset/base/240928
Log:
Require CAP_CREATE on directory descriptor for linkat(2).
Sponsored by: FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/kern/vfs_syscalls.c
Modified:
Author: pjd
Date: Tue Sep 25 20:59:12 2012
New Revision: 240929
URL: http://svn.freebsd.org/changeset/base/240929
Log:
Require CAP_CREATE on directory descriptor for symlinkat(2).
Sponsored by: FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/kern/vfs_syscalls.c
Modified:
Author: pjd
Date: Tue Sep 25 21:00:36 2012
New Revision: 240930
URL: http://svn.freebsd.org/changeset/base/240930
Log:
Require CAP_DELETE on directory descriptor for unlinkat(2).
Sponsored by: FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/kern/vfs_syscalls.c
Modified:
Author: pjd
Date: Tue Sep 25 21:11:40 2012
New Revision: 240931
URL: http://svn.freebsd.org/changeset/base/240931
Log:
We cannot open file for reading and executing (O_RDONLY | O_EXEC).
Well, in theory we can pass those two flags, because O_RDONLY is 0,
but we won't be able to read from a
Author: pjd
Date: Tue Sep 25 21:31:17 2012
New Revision: 240936
URL: http://svn.freebsd.org/changeset/base/240936
Log:
vn_write() always expects FOF_OFFSET flag, which is asserted at the begining,
so there is no need to check for it.
Sponsored by: FreeBSD Foundation
MFC after:2
Author: pjd
Date: Tue Sep 25 22:15:59 2012
New Revision: 240940
URL: http://svn.freebsd.org/changeset/base/240940
Log:
Fix freebsd32_kmq_timedreceive() and freebsd32_kmq_timedsend() to use
getmq_read() and getmq_write() respectively, just like sys_kmq_timedreceive()
and sys_kmq_timedsend().
+ */
+/*
+ * Copyright (c) 2012 Pawel Jakub Dawidek pa...@dawidek.net.
+ * All rights reserved.
+ */
+
+#ifndef _SYS_TRIM_MAP_H
+#define_SYS_TRIM_MAP_H
+
+#include sys/avl.h
+#include sys/list.h
+#include sys/spa.h
+
+#ifdef __cplusplus
+extern C {
+#endif
+
+extern void trim_map_create(vdev_t *vd);
+extern
Author: pjd
Date: Sun Sep 23 20:12:10 2012
New Revision: 240870
URL: http://svn.freebsd.org/changeset/base/240870
Log:
It is possible to recursively destroy snapshots even if the snapshot
doesn't exist on a dataset we are starting from. For example if we
have the following configuration:
Author: pjd
Date: Sat Sep 22 12:41:49 2012
New Revision: 240822
URL: http://svn.freebsd.org/changeset/base/240822
Log:
Use the topology lock to protect list of providers while withering them.
It is possible that provider is destroyed while we are iterating over the
list.
Reported by:
Author: pjd
Date: Sat Sep 22 12:42:51 2012
New Revision: 240823
URL: http://svn.freebsd.org/changeset/base/240823
Log:
Use O_CLOEXEC for open instead of separate fcntl(2) call.
Modified:
head/sbin/devd/devd.cc
Modified: head/sbin/devd/devd.cc
Author: pjd
Date: Sat Sep 22 17:32:40 2012
New Revision: 240829
URL: http://svn.freebsd.org/changeset/base/240829
Log:
As in r226967, r226987 and r232401 changes to UFS and TMPFS remove cache
entries associated with the source and the target of rename().
MFC after:1 week
Modified:
Author: pjd
Date: Sat Sep 22 17:41:56 2012
New Revision: 240830
URL: http://svn.freebsd.org/changeset/base/240830
Log:
Fix an obvious typo.
Modified:
head/sys/contrib/rdma/rdma_addr.c
Modified: head/sys/contrib/rdma/rdma_addr.c
Author: pjd
Date: Sat Sep 22 17:46:53 2012
New Revision: 240832
URL: http://svn.freebsd.org/changeset/base/240832
Log:
Make the example a bit more pretty.
Modified:
head/share/man/man4/ip6.4
Modified: head/share/man/man4/ip6.4
Author: pjd
Date: Sat Sep 22 17:47:37 2012
New Revision: 240833
URL: http://svn.freebsd.org/changeset/base/240833
Log:
Add libsbuf.
Modified:
head/contrib/groff/tmac/doc-syms
Modified: head/contrib/groff/tmac/doc-syms
Author: pjd
Date: Sat Sep 22 17:49:25 2012
New Revision: 240834
URL: http://svn.freebsd.org/changeset/base/240834
Log:
Add rounddown2() macro similar to the roundup2() macro.
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
jailid filesystem\n));
+ return (gettext(\tunjail jailid|jailname filesystem\n));
case HELP_LIST:
return (gettext(\tlist [-rH][-d max]
[-o property[,...]] [-t type[,...]] [-s property] ...\n
--
Pawel Jakub Dawidek http
On Thu, Sep 20, 2012 at 11:38:43PM +0200, Baptiste Daroussin wrote:
On Thu, Sep 20, 2012 at 11:17:01PM +0200, Pawel Jakub Dawidek wrote:
On Wed, Sep 19, 2012 at 04:28:38PM +, Baptiste Daroussin wrote:
Author: bapt
Date: Wed Sep 19 16:28:38 2012
New Revision: 240698
URL: http
Author: pjd
Date: Tue Sep 11 10:07:55 2012
New Revision: 240359
URL: http://svn.freebsd.org/changeset/base/240359
Log:
MFC r226738:
Don't look for includes in userland directories. There is no need for it
and it breaks building the kernel without userland sources.
Reported by:
Author: pjd
Date: Tue Sep 11 13:58:03 2012
New Revision: 240363
URL: http://svn.freebsd.org/changeset/base/240363
Log:
MFC r226738:
Don't look for includes in userland directories. There is no need for it
and it breaks building the kernel without userland sources.
Reported by:
is equivalent to O_EXCL.
Apart from adding the 'x' mode option this change heavly modifies manual
page. For example you removed information that the 'w' option truncates
the file to zero length. I had to look at the code to figure it out.
Why those changes to manual page were made?
--
Pawel Jakub
Author: pjd
Date: Fri Aug 10 18:43:29 2012
New Revision: 239184
URL: http://svn.freebsd.org/changeset/base/239184
Log:
Always initialize sc_ekey, because as of r238116 it is always used.
If GELI provider was created on FreeBSD HEAD r238116 or later (but before this
change), it is using
-fd_ofileflags[new] = fdp-fd_ofileflags[old] ~ UF_EXCLOSE;
It seems that you forgot to remove the line above, which results in
always removing the UF_EXCLOSE flag.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I
nice nor helpful to you.
Just wanted to point out your changes are wrong. That's all I can do.
This is my last e-mail on the subject.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am
On Sun, Jul 08, 2012 at 12:53:37AM +0200, Edward Tomasz Napierała wrote:
Wiadomość napisana przez Pawel Jakub Dawidek w dniu 7 lip 2012, o godz. 23:54:
You will also notice that one of those fields were left for more
universal method to handle various provider's property changes (ie
;
+ g_post_event(g_resize_provider_event, hh, M_WAITOK, NULL);
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
pgp3T2FQNL3Os.pgp
Description: PGP
. Compare results of those
two on some SMP machine:
# dd if=/dev/random of=/dev/null bs=1m count=1024
# sh -c 'for i in `jot $(sysctl -n hw.ncpu)`; do dd if=/dev/random
of=/dev/null bs=1m count=128 done'
--
Pawel Jakub Dawidek http://www.wheelsystems.com
Author: pjd
Date: Wed Jul 4 17:31:53 2012
New Revision: 238110
URL: http://svn.freebsd.org/changeset/base/238110
Log:
Recognize 'none' or '0' as no flags.
Modified:
head/tools/regression/pjdfstest/pjdfstest.c
Modified: head/tools/regression/pjdfstest/pjdfstest.c
Author: pjd
Date: Wed Jul 4 17:35:07 2012
New Revision: 238111
URL: http://svn.freebsd.org/changeset/base/238111
Log:
The register_printf_render_std() function expects regular string.
Change argument type from 'const unsigned char *' to 'const char *'.
MFC after:2 weeks
Modified:
Author: pjd
Date: Wed Jul 4 17:36:26 2012
New Revision: 238112
URL: http://svn.freebsd.org/changeset/base/238112
Log:
Fix an obvious typo.
MFC after:3 days
Modified:
head/cddl/compat/opensolaris/misc/deviceid.c
Modified: head/cddl/compat/opensolaris/misc/deviceid.c
Author: pjd
Date: Wed Jul 4 17:39:29 2012
New Revision: 238113
URL: http://svn.freebsd.org/changeset/base/238113
Log:
vdev_io_done stage is not used for ioctls.
MFC after:1 week
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_impl.h
Modified:
Author: pjd
Date: Wed Jul 4 17:43:25 2012
New Revision: 238114
URL: http://svn.freebsd.org/changeset/base/238114
Log:
Correct a comment and correct style of a flag check.
MFC after:3 days
Modified:
head/sys/geom/eli/g_eli_key.c
Modified: head/sys/geom/eli/g_eli_key.c
Author: pjd
Date: Wed Jul 4 17:44:39 2012
New Revision: 238115
URL: http://svn.freebsd.org/changeset/base/238115
Log:
Correct comment.
MFC after:3 days
Modified:
head/sys/geom/eli/g_eli_key_cache.c
Modified: head/sys/geom/eli/g_eli_key_cache.c
Author: pjd
Date: Wed Jul 4 17:54:17 2012
New Revision: 238116
URL: http://svn.freebsd.org/changeset/base/238116
Log:
Use correct part of the Master-Key for generating encryption keys.
Before this change the IV-Key was used to generate encryption keys,
which was incorrect, but safe - for
Author: pjd
Date: Wed Jul 4 17:59:26 2012
New Revision: 238117
URL: http://svn.freebsd.org/changeset/base/238117
Log:
Improve description of various key used by GELI.
PR: docs/169089
Submitted by: John W. O'Brien j...@saltant.com
MFC after:3 days
Modified:
Author: pjd
Date: Wed Jul 4 19:51:25 2012
New Revision: 238118
URL: http://svn.freebsd.org/changeset/base/238118
Log:
Prefer sysctl to open/read/close for obtaining random data.
This method is more sandbox-friendly and also should be faster as only
one syscall is needed instead of three.
Author: pjd
Date: Wed Jul 4 20:16:28 2012
New Revision: 238119
URL: http://svn.freebsd.org/changeset/base/238119
Log:
Extend GEOM Gate class to handle read I/O requests directly within the kernel.
This will allow HAST to read directly from the local component without
even communicating
Author: pjd
Date: Wed Jul 4 20:20:48 2012
New Revision: 238120
URL: http://svn.freebsd.org/changeset/base/238120
Log:
Make use of GEOM Gate direct reads feature. This allows HAST to serve
reads with native speed of the underlying provider.
There are three situations when direct reads are
On Mon, Jul 02, 2012 at 09:01:03PM +, Konstantin Belousov wrote:
The already broken ABI emulations, including iBCS and SysV, are not
converted (yet).
Do people really use that? Why can't we axe those?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD
Author: pjd
Date: Sun Jul 1 16:26:07 2012
New Revision: 237931
URL: http://svn.freebsd.org/changeset/base/237931
Log:
Check if there is cmsg at all.
MFC after:3 days
Modified:
head/sbin/hastd/proto_common.c
Modified: head/sbin/hastd/proto_common.c
401 - 500 of 1570 matches
Mail list logo