o that an admin
could protect any process he wanted? E.g. something like in the attach.
--
Mikolaj Golub
mprotect.c
Description: Binary data
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe,
On Mon, 27 Sep 2010 13:40:56 +0400 pluknet wrote:
p> On 26 September 2010 14:48, Mikolaj Golub wrote:
>>
>> On Sun, 26 Sep 2010 01:45:33 + (UTC) Ed Maste wrote:
>>
>> EM> Log:
>> EM> Protect the watchdog daemon against swap OOM killer.
Author: trociny
Date: Tue Nov 22 20:40:18 2011
New Revision: 227833
URL: http://svn.freebsd.org/changeset/base/227833
Log:
Add new sysctls, KERN_PROC_ENV and KERN_PROC_AUXV, to return
environment strings and ELF auxiliary vectors from a process stack.
Make sysctl_kern_proc_args to read no
Author: trociny
Date: Tue Nov 22 20:43:03 2011
New Revision: 227834
URL: http://svn.freebsd.org/changeset/base/227834
Log:
In procfs_doproccmdline() if arguments are not cashed read them from
the process stack.
Suggested by: kib
Reviewed by: kib
Tested by:pho
MFC after:2 we
Author: trociny
Date: Tue Nov 22 20:45:11 2011
New Revision: 227836
URL: http://svn.freebsd.org/changeset/base/227836
Log:
Retire linprocfs_doargv(). Instead use new functions, proc_getargv()
and proc_getenvv(), which were implemented using linprocfs_doargv() as
a reference.
Suggested b
+procstat_env(struct kinfo_proc *kipp)
+{
+ do_args(kipp, 1);
+}
Added: head/usr.bin/procstat/procstat_auxv.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/usr.bin/procstat/procstat_auxv.c
Author: trociny
Date: Tue Nov 22 21:12:28 2011
New Revision: 227839
URL: http://svn.freebsd.org/changeset/base/227839
Log:
Now kvm_getenvv() and kvm_getargv() don't need procfs(5).
MFC after:2 weeks
Modified:
head/lib/libkvm/kvm_getprocs.3
head/lib/libkvm/kvm_proc.c
Modified: head
Author: trociny
Date: Tue Nov 22 21:14:46 2011
New Revision: 227840
URL: http://svn.freebsd.org/changeset/base/227840
Log:
No need in procfs(5).
MFC after:2 weeks
Modified:
head/bin/ps/ps.1
head/bin/ps/ps.c
Modified: head/bin/ps/ps.1
===
On Tue, 22 Nov 2011 21:24:13 + Alexander Best wrote:
AB> On Tue Nov 22 11, Mikolaj Golub wrote:
>> Author: trociny
>> Date: Tue Nov 22 21:14:46 2011
>> New Revision: 227840
>> URL: http://svn.freebsd.org/changeset/base/227840
>>
>> Log:
>
Author: trociny
Date: Tue Nov 22 21:53:06 2011
New Revision: 227846
URL: http://svn.freebsd.org/changeset/base/227846
Log:
Remove yet another outdated note about procfs(5) being required.
Spotted by: arundel
Modified:
head/bin/ps/ps.1
Modified: head/bin/ps/ps.1
===
Author: trociny
Date: Wed Nov 23 07:34:09 2011
New Revision: 227873
URL: http://svn.freebsd.org/changeset/base/227873
Log:
Fix build, hopefully.
Reviewed by: kib
Modified:
head/usr.bin/procstat/procstat_auxv.c
Modified: head/usr.bin/procstat/procstat_auxv.c
Author: trociny
Date: Wed Nov 23 08:11:04 2011
New Revision: 227874
URL: http://svn.freebsd.org/changeset/base/227874
Log:
Fix build without INVARIANTS.
Discussed with: kib
Modified:
head/sys/kern/kern_proc.c
Modified: head/sys/kern/kern_proc.c
VALUE
2520 firefox-bin AT_PHDR 0x400040
2520 firefox-bin AT_PHENT56
2520 firefox-bin AT_PHNUM7
...
--
Mikolaj Golub
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: trociny
Date: Thu Nov 24 20:37:09 2011
New Revision: 227954
URL: http://svn.freebsd.org/changeset/base/227954
Log:
Add const qualifier to rlimit_ident.
Reviewed by: kib
MFC after:2 weeks
Modified:
head/sys/sys/resource.h
Modified: head/sys/sys/resource.h
=
Author: trociny
Date: Thu Nov 24 20:43:37 2011
New Revision: 227955
URL: http://svn.freebsd.org/changeset/base/227955
Log:
Add sysctl to get process resource limits.
Reviewed by: kib
MFC after:2 weeks
Modified:
head/sys/kern/kern_proc.c
head/sys/sys/sysctl.h
Modified: head/sys/
tat/procstat_rlimit.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/usr.bin/procstat/procstat_rlimit.c Thu Nov 24 20:54:06 2011
(r227956)
@@ -0,0 +1,78 @@
+/*-
+ * Copyrig
On Thu, 24 Nov 2011 09:12:35 +0200 Mikolaj Golub wrote:
MG> On Wed, 23 Nov 2011 11:10:47 -0800 m...@freebsd.org wrote:
>>> printf(" AT_IGNORE=0x%lu",
>>> - (unsigned long)aux->a_un.a_val);
>>> +
Author: trociny
Date: Sun Nov 27 15:53:58 2011
New Revision: 228025
URL: http://svn.freebsd.org/changeset/base/228025
Log:
Make proctstat -x output more readable.
This also fixes the issue, spotted by mdf, with values that were
printed as decimal and had hex prefixes.
Discussed with:
Author: trociny
Date: Sun Nov 27 16:56:01 2011
New Revision: 228029
URL: http://svn.freebsd.org/changeset/base/228029
Log:
In sysctl_kern_proc_auxv the process was released too early: we still
need to hold it when checking process sv_flags.
MFC after:2 weeks
Modified:
head/sys/kern
Author: trociny
Date: Sun Nov 27 17:05:26 2011
New Revision: 228030
URL: http://svn.freebsd.org/changeset/base/228030
Log:
Add sysctl to retrieve ps_strings structure location of another process.
Suggested by: kib
Reviewed by: kib
Modified:
head/sys/kern/kern_proc.c
Modified: head/sy
Author: trociny
Date: Sun Nov 27 21:01:51 2011
New Revision: 228046
URL: http://svn.freebsd.org/changeset/base/228046
Log:
This should have been committed in r228030.
MFC after:2 weeks
Modified:
head/sys/sys/sysctl.h
Modified: head/sys/sys/sysctl.h
==
Author: trociny
Date: Mon Nov 28 07:09:29 2011
New Revision: 228049
URL: http://svn.freebsd.org/changeset/base/228049
Log:
Cast a_val on printing. This fixes build on mips.
Modified:
head/usr.bin/procstat/procstat_auxv.c
Modified: head/usr.bin/procstat/procstat_auxv.c
===
Author: trociny
Date: Mon Nov 28 19:45:47 2011
New Revision: 228090
URL: http://svn.freebsd.org/changeset/base/228090
Log:
Update SYNOPSIS to include the flags added recently.
Spotted by: jhb
Modified:
head/usr.bin/procstat/procstat.1
Modified: head/usr.bin/procstat/procstat.1
===
On Mon, 28 Nov 2011 13:30:11 -0500 John Baldwin wrote:
JB> On Thursday, November 24, 2011 3:54:06 pm Mikolaj Golub wrote:
>> Author: trociny
>> Date: Thu Nov 24 20:54:06 2011
>> New Revision: 227956
>> URL: http://svn.freebsd.org/changeset/base/227956
>>
On Mon, 28 Nov 2011 13:30:11 -0500 John Baldwin wrote:
JB> On Thursday, November 24, 2011 3:54:06 pm Mikolaj Golub wrote:
>> Author: trociny
>> Date: Thu Nov 24 20:54:06 2011
>> New Revision: 227956
>> URL: http://svn.freebsd.org/changeset/base/227956
>>
Author: trociny
Date: Sun Dec 4 21:24:01 2011
New Revision: 228264
URL: http://svn.freebsd.org/changeset/base/228264
Log:
In sysctl_kern_proc_ps_strings() there is no much sense in checking
for P_WEXIT and P_SYSTEM flags.
Reviewed by: kib
Modified:
head/sys/kern/kern_proc.c
Modified
Author: trociny
Date: Sun Dec 4 21:43:13 2011
New Revision: 228268
URL: http://svn.freebsd.org/changeset/base/228268
Log:
Protect process environment variables with p_candebug().
Discussed with: jilles, kib, rwatson
MFC after:2 weeks
Modified:
head/sys/compat/linprocfs/linpr
Author: trociny
Date: Mon Dec 5 19:34:02 2011
New Revision: 228288
URL: http://svn.freebsd.org/changeset/base/228288
Log:
Protect kern.proc.auxv and kern.proc.ps_strings sysctls with p_candebug().
Citing jilles:
If we are ever going to do ASLR, the AUXV information tells an attacker
Author: trociny
Date: Mon Dec 5 19:39:15 2011
New Revision: 228289
URL: http://svn.freebsd.org/changeset/base/228289
Log:
Don't output a warning if kern.proc.auxv sysctl has returned EPERM.
After r228288 this is rather a normal situation.
MFC after:1 week
Modified:
head/usr.bin/pr
Author: trociny
Date: Tue Dec 6 06:40:14 2011
New Revision: 228302
URL: http://svn.freebsd.org/changeset/base/228302
Log:
Really protect kern.proc.ps_strings sysctls with p_candebug(). This
was intended to be in r228288.
Spotted by: many
MFC after:1 week
Modified:
head/sys/ker
On Thu, 08 Dec 2011 13:30:36 -0500 John Baldwin wrote:
JB> On 12/3/11 3:58 PM, Mikolaj Golub wrote:
>>
>> On Mon, 28 Nov 2011 13:30:11 -0500 John Baldwin wrote:
>>
>> JB> On Thursday, November 24, 2011 3:54:06 pm Mikolaj Golub wrote:
>> >>
infinity
11949 zsh memorylockedinfinity infinity
11949 zsh maxprocesses5547 5547
11949 zsh openfiles 1109511095
11949 zsh sbsize infinity i
Author: trociny
Date: Sun Dec 11 17:10:33 2011
New Revision: 228411
URL: http://svn.freebsd.org/changeset/base/228411
Log:
Include sys/queue.h: snmpmod.h uses TAILQ.
PR: bin/153153
MFC after:2 weeks
Modified:
head/contrib/bsnmp/snmpd/snmpmod.h
Modified: head/contrib/bsnm
Author: trociny
Date: Mon Dec 12 21:41:05 2011
New Revision: 228446
URL: http://svn.freebsd.org/changeset/base/228446
Log:
Make procstat -l output similar to the output of limits(1).
Suggested by: jhb
MFC after:1 week
Modified:
head/usr.bin/procstat/procstat_rlimit.c
Modified: hea
On Mon, 12 Dec 2011 14:07:56 -0500 John Baldwin wrote:
JB> On Saturday, December 10, 2011 3:26:46 am Mikolaj Golub wrote:
>>
>> Output example:
>>
>> PID COMM RLIMIT SOFT HARD
>> 11949 zsh
Author: trociny
Date: Mon Dec 12 22:01:33 2011
New Revision: 228447
URL: http://svn.freebsd.org/changeset/base/228447
Log:
Make 64-bit procstat output ELF auxiliary vectors for 32-bit processes.
Reviewed by: kib
MFC after:1 week
Modified:
head/usr.bin/procstat/procstat_auxv.c
Mod
Author: trociny
Date: Sat Dec 17 16:59:22 2011
New Revision: 228648
URL: http://svn.freebsd.org/changeset/base/228648
Log:
On start most of sysctl_kern_proc functions use the same pattern:
locate a process calling pfind() and do some additional checks like
p_candebug(). To reduce this code d
Author: trociny
Date: Sat Dec 17 22:18:26 2011
New Revision: 228666
URL: http://svn.freebsd.org/changeset/base/228666
Log:
Fix style and white spaces.
MFC after:1 week
Modified:
head/sys/kern/kern_proc.c
Modified: head/sys/kern/kern_proc.c
===
Author: trociny
Date: Tue Jan 3 20:53:16 2012
New Revision: 229426
URL: http://svn.freebsd.org/changeset/base/229426
Log:
MFC r228411:
Include sys/queue.h: snmpmod.h uses TAILQ.
PR: bin/153153
Modified:
stable/9/contrib/bsnmp/snmpd/snmpmod.h
Directory Properties:
stable
Author: trociny
Date: Wed Jan 4 17:22:10 2012
New Revision: 229509
URL: http://svn.freebsd.org/changeset/base/229509
Log:
MFC r225773, r225781, r225782, r225783, r225784, 225785, r225786, r225787,
r225830, r225831, r225832, r225835, r226461, r226462, r226463, r226842,
r226851, r226852,
Author: trociny
Date: Wed Jan 4 17:25:41 2012
New Revision: 229510
URL: http://svn.freebsd.org/changeset/base/229510
Log:
MFC r219843, r225773, r225781, r225782, r225783, r225784, 225785, r225786,
r225787, r225830, r225831, r225832, r225835, r226461, r226462, r226463,
r226842, r226851,
x: sys/net/if_llatbl.c
===
--- sys/net/if_llatbl.c (revision 215233)
+++ sys/net/if_llatbl.c (working copy)
@@ -122,7 +122,7 @@ llentry_free(struct llentry *lle)
}
KASSERT(lle->la_numheld == 0,
- ("%s:
ca54bcec) at
/usr/src/sys/kern/kern_jail.c:489
#23 0xc091e903 in syscallenter (td=0xc306d870, sa=0xca54bce4)
at /usr/src/sys/kern/subr_trap.c:318
#24 0xc0c3cebf in syscall (frame=0xca54bd28) at
/usr/src/sys/i386/i386/trap.c:1095
#25 0xc0c26511 in Xint0x80_syscall () at /usr/src/sys/i386
On Sun, 14 Nov 2010 12:24:40 +1100 Lawrence Stewart wrote:
LS> On 11/13/10 20:40, Mikolaj Golub wrote:
>>
>> On Fri, 12 Nov 2010 06:41:56 + (UTC) Lawrence Stewart wrote:
>>
>> LS> Author: lstewart
>> LS> Date: Fri Nov 12 06:41:55 2010
&g
On Mon, 15 Nov 2010 12:24:06 +1100 Lawrence Stewart wrote:
LS> On 11/15/10 02:15, Mikolaj Golub wrote:
>>
>> LS> Would you mind testing the following patch? It fixes the panic for me.
>>
>> LS>
>> http://people.freebsd.org/~lstewart/p
intrusive and the one I'd most like to see some testing done with. Only
LS> if you feel like it of course.
Feeling virtually adventurous, applied them all on VirtualBox :-). This is the
box where the hang is not observed. It works ok for me so far. I will try at
home too (where the
On Tue, 16 Nov 2010 00:46:45 +1100 Lawrence Stewart wrote:
LS> On 11/15/10 20:43, Mikolaj Golub wrote:
>>
>> On Mon, 15 Nov 2010 12:24:06 +1100 Lawrence Stewart wrote:
>>
>> LS> On 11/15/10 02:15, Mikolaj Golub wrote:
>> >>
>> >&g
Author: trociny
Date: Tue Sep 27 18:14:04 2011
New Revision: 225809
URL: http://svn.freebsd.org/changeset/base/225809
Log:
When script(1) reads EOF from input it starts spinning on zero-byte
reads eating 100% CPU. Fix this by skipping select on STDIN after
reading EOF -- permanently if STDIN
Author: trociny
Date: Tue Oct 4 10:00:28 2011
New Revision: 225962
URL: http://svn.freebsd.org/changeset/base/225962
Log:
MFC r225809:
When script(1) reads EOF from input it starts spinning on zero-byte
reads eating 100% CPU. Fix this by skipping select on STDIN after
reading EOF -- pe
Author: trociny
Date: Tue Oct 4 11:08:31 2011
New Revision: 225966
URL: http://svn.freebsd.org/changeset/base/225966
Log:
MFC r225809:
When script(1) reads EOF from input it starts spinning on zero-byte
reads eating 100% CPU. Fix this by skipping select on STDIN after
reading EOF -- pe
Author: trociny
Date: Tue Oct 4 11:10:11 2011
New Revision: 225968
URL: http://svn.freebsd.org/changeset/base/225968
Log:
MFC r225809:
When script(1) reads EOF from input it starts spinning on zero-byte
reads eating 100% CPU. Fix this by skipping select on STDIN after
reading EOF -- pe
Author: trociny
Date: Sat Oct 15 19:08:22 2011
New Revision: 226403
URL: http://svn.freebsd.org/changeset/base/226403
Log:
In r225809 the intention was to send VEOF only once if STDIN was not a
terminal. Unfortunately the fix was incorrect and for flushtime > 0 it
keept sending VEOF.
Se
Author: trociny
Date: Fri Oct 21 05:37:40 2011
New Revision: 226591
URL: http://svn.freebsd.org/changeset/base/226591
Log:
MFC r226403:
In r225809 the intention was to send VEOF only once if STDIN was not a
terminal. Unfortunately the fix was incorrect and for flushtime > 0 it
keept sen
Author: trociny
Date: Fri Oct 21 05:40:30 2011
New Revision: 226592
URL: http://svn.freebsd.org/changeset/base/226592
Log:
MFC r226403:
In r225809 the intention was to send VEOF only once if STDIN was not a
terminal. Unfortunately the fix was incorrect and for flushtime > 0 it
keept sen
Author: trociny
Date: Fri Oct 21 05:41:20 2011
New Revision: 226593
URL: http://svn.freebsd.org/changeset/base/226593
Log:
MFC r226403:
In r225809 the intention was to send VEOF only once if STDIN was not a
terminal. Unfortunately the fix was incorrect and for flushtime > 0 it
keept sen
Author: trociny
Date: Thu Oct 27 08:44:07 2011
New Revision: 226828
URL: http://svn.freebsd.org/changeset/base/226828
Log:
Fix a memory leak in tzload().
Reported by: valgrind
Reviewed by: kib
MFC after:3 days
Modified:
head/contrib/tzcode/stdtime/localtime.c
Modified: head/co
Author: trociny
Date: Sun Oct 30 08:35:19 2011
New Revision: 226929
URL: http://svn.freebsd.org/changeset/base/226929
Log:
MFC r226828:
Fix a memory leak in tzload().
PR: bin/161425
Reviewed by: kib
Approved by: re (kib)
Modified:
stable/9/contrib/tzcode/stdtime/loca
Author: trociny
Date: Sun Nov 6 09:17:48 2011
New Revision: 227204
URL: http://svn.freebsd.org/changeset/base/227204
Log:
Fix the typo made in r157474.
MFC after:3 days
Modified:
head/sys/netinet/in_pcb.c
Modified: head/sys/netinet/in_pcb.c
=
Author: trociny
Date: Sun Nov 6 09:29:52 2011
New Revision: 227206
URL: http://svn.freebsd.org/changeset/base/227206
Log:
Before dereferencing intotw() check for NULL, the same way as it is
done for in_pcb (see r157474).
MFC after:1 week
Modified:
head/sys/netinet6/in6_pcb.c
Modi
Author: trociny
Date: Sun Nov 6 10:47:20 2011
New Revision: 227207
URL: http://svn.freebsd.org/changeset/base/227207
Log:
Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid
inp_socket->so_options dereference when we may not acquire the lock on
the inpcb.
This fixes the c
On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote:
MG> Author: trociny
MG> Date: Sun Nov 6 10:47:20 2011
MG> New Revision: 227207
MG> URL: http://svn.freebsd.org/changeset/base/227207
MG> Log:
MG> Cache SO_REUSEPORT socket option in inpcb-layer in
Author: trociny
Date: Mon Nov 7 21:09:04 2011
New Revision: 227315
URL: http://svn.freebsd.org/changeset/base/227315
Log:
In lim_fork() assert that processes locks are held.
Suggested by: kib
Modified:
head/sys/kern/kern_resource.c
Modified: head/sys/kern/kern_resource.c
==
Author: trociny
Date: Mon Nov 7 21:13:19 2011
New Revision: 227316
URL: http://svn.freebsd.org/changeset/base/227316
Log:
Add KVME_FLAG_SUPER and use it in sysctl_kern_proc_vmmap for marking
entries with superpages.
Submitted by: Mel Flynn
Reviewed by: alc, rwatson
Modified:
head/
Author: trociny
Date: Mon Nov 7 21:16:19 2011
New Revision: 227317
URL: http://svn.freebsd.org/changeset/base/227317
Log:
When displaying process virtual memory mappings print superpage
mapping flag.
Submitted by: Mel Flynn
Reviewed by: alc, rwatson
Modified:
head/usr.bin/procstat
Author: trociny
Date: Tue Nov 8 19:14:15 2011
New Revision: 227355
URL: http://svn.freebsd.org/changeset/base/227355
Log:
Bumb date after r227317.
Reminded by: pluknet
Modified:
head/usr.bin/procstat/procstat.1
Modified: head/usr.bin/procstat/procstat.1
===
On Wed, 9 Nov 2011 08:27:16 -0500 Robert N. M. Watson wrote:
RNMW> On 6 Nov 2011, at 05:51, Mikolaj Golub wrote:
>> On Sun, 6 Nov 2011 10:47:20 +0000 (UTC) Mikolaj Golub wrote:
>>
>> MG> Author: trociny
>> MG> Date: Sun Nov 6 10:47:20 2011
>> MG&
Author: trociny
Date: Thu Nov 10 20:28:30 2011
New Revision: 227428
URL: http://svn.freebsd.org/changeset/base/227428
Log:
MFC r227204, 227206, 227207:
r227204:
Fix the typo made in r157474.
r227206:
Before dereferencing intotw() check for NULL, the same way as it is
done f
Author: trociny
Date: Fri Nov 11 14:09:09 2011
New Revision: 227449
URL: http://svn.freebsd.org/changeset/base/227449
Log:
Fix false positive EADDRINUSE that could be returned by bind, due to
the typo made in r227207.
Reported by: kib
Tested by:kib
Modified:
head/sys/netinet6/in
Author: trociny
Date: Fri Nov 11 14:42:05 2011
New Revision: 227450
URL: http://svn.freebsd.org/changeset/base/227450
Log:
MFC r227449:
Fix false positive EADDRINUSE that could be returned by bind, due to
the typo made in r227207.
Reported by: kib
Tested by:kib
Approved b
Author: trociny
Date: Fri Nov 11 15:24:17 2011
New Revision: 227451
URL: http://svn.freebsd.org/changeset/base/227451
Log:
MFS r227450 (MFC r227449):
Fix false positive EADDRINUSE that could be returned by bind, due to
the typo made in r227207.
Reported by: kib
Tested by:kib
astd_secondary(struct hast_resource *res, struct nv *nvin);
PJD>
PJD> ___
PJD> svn-src-all@freebsd.org mailing list
PJD> http://lists.freebsd.org/mailman/listinfo/svn-src-all
PJD> To unsubscribe, send any mail to "svn-src-all-unsu
PJD> +}
PJD> +
PJD> static void
PJD> child_exit_log(unsigned int pid, int status)
PJD> {
PJD> Modified: head/sbin/hastd/hastd.h
PJD>
==
PJD> --- head/sbin/hastd/hastd.hFri Jan 28 21:52:37 2011
ss, though not exactly
BAZ> the same with regard to whitespace stripping in and after the device
BAZ> name but that could be fixed easily as well.
BAZ> camcontrol identify $DEV | awk '/device model/ { gsub("device
model[[:space:]]*", ""); print; }
On Thu, 09 Jun 2011 11:31:31 -0700 Maxim Sobolev wrote:
MS> On 6/9/2011 6:10 AM, Mikolaj Golub wrote:
>> >>> Hmm, not sure what exactly is wrong? Sender does 3 writes to the TCP
>> >>> socket - 32k, 32k and 1071 bytes, while receiver does one
>>
Author: trociny
Date: Wed Jun 15 20:34:40 2011
New Revision: 223119
URL: http://svn.freebsd.org/changeset/base/223119
Log:
MFC r222454:
In soreceive_generic(), if MSG_WAITALL is set but the request is
larger than the receive buffer, we have to receive in sections.
When notifying the pro
Author: trociny
Date: Fri Jun 17 07:07:26 2011
New Revision: 223181
URL: http://svn.freebsd.org/changeset/base/223181
Log:
In HAST we use two sockets - one for only sending the data and one for
only receiving the data. In r220271 the unused directions were
disabled using shutdown(2).
Un
Author: trociny
Date: Mon Jun 27 18:56:43 2011
New Revision: 223602
URL: http://svn.freebsd.org/changeset/base/223602
Log:
MFC r25 (pjd):
Recognize BIO_FLUSH requests and pass them to userland.
Approved by: pjd (mentor)
Modified:
stable/8/sys/geom/gate/g_gate.c
Directory Proper
Author: trociny
Date: Mon Jun 27 20:04:13 2011
New Revision: 223603
URL: http://svn.freebsd.org/changeset/base/223603
Log:
MFC r222087, r222108, r222115, r222116, r222117, r222118, r222119,
r222120, r222121:
r222087 (pjd):
- Add support for AF_INET6 sockets for %S format character.
Author: trociny
Date: Tue Jun 28 19:27:34 2011
New Revision: 223651
URL: http://svn.freebsd.org/changeset/base/223651
Log:
MFC r222164, r28, r222467, r223181:
r222164 (pjd):
Recognize HIO_FLUSH requests.
r28 (pjd):
Keep statistics on number of BIO_READ, BIO_WRITE, BIO
Author: trociny
Date: Tue Jun 28 20:57:54 2011
New Revision: 223654
URL: http://svn.freebsd.org/changeset/base/223654
Log:
Make activemap_write_start/complete check the keepdirty list, when
stating if we need to update activemap on disk. This makes keepdirty
serve its purpose -- to reduce nu
Author: trociny
Date: Tue Jun 28 21:01:32 2011
New Revision: 223655
URL: http://svn.freebsd.org/changeset/base/223655
Log:
Check the returned value of activemap_write_complete() and update matadata on
disk if needed. This should fix a potential case when extents are cleared in
activemap but
Author: trociny
Date: Sun Jul 3 16:54:27 2011
New Revision: 223743
URL: http://svn.freebsd.org/changeset/base/223743
Log:
MFC r219847, r221898, r221899, r24, r223584, r223585:
r219847 (pjd):
When dropping privileges prefer capsicum over chroot+setgid+setuid.
We can use capsicum
Author: trociny
Date: Tue Jul 5 06:12:28 2011
New Revision: 223780
URL: http://svn.freebsd.org/changeset/base/223780
Log:
Remove useless initialization.
Approved by: pjd (mentor)
MFC after:3 days
Modified:
head/sbin/hastd/control.c
Modified: head/sbin/hastd/control.c
===
Author: trociny
Date: Wed Jul 13 05:32:55 2011
New Revision: 223974
URL: http://svn.freebsd.org/changeset/base/223974
Log:
Fix indentation.
Approved by: pjd (mentor)
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
Author: trociny
Date: Wed Jul 13 05:42:04 2011
New Revision: 223975
URL: http://svn.freebsd.org/changeset/base/223975
Log:
MFC r223654, r223655, r223780, 223974:
r223654:
Make activemap_write_start/complete check the keepdirty list, when
stating if we need to update activemap on disk
Author: trociny
Date: Wed Jul 13 05:56:51 2011
New Revision: 223976
URL: http://svn.freebsd.org/changeset/base/223976
Log:
When exiting with error because of an invalid command line argument
use errx(3), not err(3), and the exit code from sysexits(3).
Approved by: pjd (mentor)
Modified:
Author: trociny
Date: Tue Aug 2 12:43:40 2011
New Revision: 224610
URL: http://svn.freebsd.org/changeset/base/224610
Log:
MFC r223976:
When exiting with error because of an invalid command line argument
use errx(3), not err(3), and the exit code from sysexits(3).
Modified:
stable/8/sb
(r219478)
@@ -235,6 +235,7 @@ ticso [label="Bernd Walter\nticso@FreeBS
tijl [label="Tijl Coosemans\nt...@freebsd.org\n2010/07/16"]
trasz [label="Edward Tomasz Napierala\ntr...@freebsd.org\n2008/08/22"]
trhodes [label="Tom Rhodes\ntrho...@freebsd.org\n2002/05/28"]
+
Author: trociny
Date: Fri Mar 11 12:12:35 2011
New Revision: 219482
URL: http://svn.freebsd.org/changeset/base/219482
Log:
Make workers inherit debug level from the main process.
Approved by: pjd (mentor)
MFC after:1 week
Modified:
head/sbin/hastd/primary.c
head/sbin/hastd/secon
Author: trociny
Date: Sun Mar 13 19:23:32 2011
New Revision: 219620
URL: http://svn.freebsd.org/changeset/base/219620
Log:
In command line options allow size to be specified using k/M/G/T
suffixes.
Approved by: pjd (mentor)
MFC after:1 week
Modified:
head/sbin/hastctl/hastctl.8
Author: trociny
Date: Thu Mar 17 21:02:14 2011
New Revision: 219721
URL: http://svn.freebsd.org/changeset/base/219721
Log:
For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incoming
connection so the worker will exit if it does not receive packets from
the primary during this interva
Author: trociny
Date: Tue Mar 22 19:49:27 2011
New Revision: 219879
URL: http://svn.freebsd.org/changeset/base/219879
Log:
For requests that are sent only to remote component use the
error from remote.
Approved by: pjd (mentor)
MFC after:1 week
Modified:
head/sbin/hastd/primary.c
Author: trociny
Date: Tue Mar 22 20:27:26 2011
New Revision: 219882
URL: http://svn.freebsd.org/changeset/base/219882
Log:
After synchronization is complete we should make primary counters be
equal to secondary counters:
primary_localcnt = secondary_remotecnt
primary_remotecnt = sec
Author: trociny
Date: Sun Mar 27 19:56:55 2011
New Revision: 220062
URL: http://svn.freebsd.org/changeset/base/220062
Log:
In g_gate_create() there is a window between when g_gate_softc is
registered in g_gate_units array and when its sc_provider field is
filled. If during this period g_gate
On Sun, 27 Mar 2011 23:08:04 +0300 Kostik Belousov wrote:
KB> On Sun, Mar 27, 2011 at 07:56:55PM +0000, Mikolaj Golub wrote:
>> Author: trociny
>> Date: Sun Mar 27 19:56:55 2011
>> New Revision: 220062
>> URL: http://svn.freebsd.org/changeset/base/220062
>>
g this socketpair to worker.
This is not really needed now, but will be needed once we start to use
capsicum for sandboxing.
r218370 (pjd):
Close more descriptors that can be open if the worker process for the given
resource is already running.
Submitted by: Mikolaj Golub
Author: trociny
Date: Tue Mar 29 17:52:45 2011
New Revision: 220138
URL: http://svn.freebsd.org/changeset/base/220138
Log:
MFC r219342, r219346:
r219342 (pjd):
Fix various issues in how %#T is handled:
- If precision is 0, don't print period followed by no digits.
- If precision is
Author: trociny
Date: Tue Mar 29 17:55:15 2011
New Revision: 220139
URL: http://svn.freebsd.org/changeset/base/220139
Log:
MFC r200035, r219344:
Bring in missing headers and primitive type declarations into to
make it work when included by itself.
r200035 (ed):
Make work when
Author: trociny
Date: Tue Mar 29 17:57:40 2011
New Revision: 220140
URL: http://svn.freebsd.org/changeset/base/220140
Log:
MFC r219343:
r219343 (pjd):
Include stdio.h, so we can include printf.h in any order, as it needs FILE.
Approved by: kib (co-mentor), pjd (mentor)
Modified:
Author: trociny
Date: Tue Mar 29 17:59:30 2011
New Revision: 220141
URL: http://svn.freebsd.org/changeset/base/220141
Log:
MFC r219368:
r219368 (pjd):
To be able to use printf extensions we need to turn off gcc format checking.
Following the convention of NO_WERROR and NO_WCAST_ALIGN
1 - 100 of 456 matches
Mail list logo