Author: trociny (ports committer)
Date: Fri Jul 13 07:08:06 2018
New Revision: 336237
URL: https://svnweb.freebsd.org/changeset/base/336237
Log:
geom_gate: enable resize
Reviewed By: pjd
Approved By: pjd
Differential Revision:https://reviews.freebsd.org/D11531
Modified:
hea
-lgeom -lbsdxml -lsbuf -lpthread -lutil
> +LDADD= -lgeom -lbsdxml -lsbuf -ll -lpthread -lutil
I think the proper fix is to remove ${LIBL} from DPADD instead. In
r250503 the intention was to remove libl dependency. It looks like I
forgot to update DPADD then.
--
Mikolaj Golub
___
Author: trociny
Date: Tue Jun 10 18:21:37 2014
New Revision: 267336
URL: http://svnweb.freebsd.org/changeset/base/267336
Log:
PF_BLUETOOTH protocols: skip initialization of non-virtualized globals
for non-default VNET instances.
This fixes panic on a vnet initialization when ng_btsocket i
MTX_RECURSE);
mtx_init(&bus->bus_spin_lock, device_get_nameunit(bus->parent),
- NULL, MTX_SPIN | MTX_RECURSE);
+ "bus_spin_lock", MTX_SPIN | MTX_RECURSE);
usb_callout_init_mtx(&bus->power_wdog,
&bus->bus_mtx, 0);
Author: trociny
Date: Sat Apr 26 08:05:16 2014
New Revision: 264963
URL: http://svnweb.freebsd.org/changeset/base/264963
Log:
Define startup order the same way as it is in dummynet.
Modified:
head/sys/netpfil/ipfw/ip_fw_nat.c
Modified: head/sys/netpfil/ipfw/ip_fw_nat.c
==
erload_task, &V_pf_overloadqueue);
> + V_pf_overloadqueue.vnet = curvnet;
Why not pass vnet as a context to pf_overload_task instead of
&V_pf_overloadqueue? Then you would not need this hack with storing a
vnet inside a vnet variable.
--
Mikolaj Golub
_
Author: trociny
Date: Sun Feb 9 08:13:17 2014
New Revision: 261650
URL: http://svnweb.freebsd.org/changeset/base/261650
Log:
Fixup for r261590 (vnet sysctl handlers cleanup).
Reviewed by: glebius
Modified:
head/sys/net/vnet.h
head/sys/netinet/cc/cc_cdg.c
head/sys/netinet/sctp_sysct
Author: trociny
Date: Fri Jan 17 21:45:25 2014
New Revision: 260833
URL: http://svnweb.freebsd.org/changeset/base/260833
Log:
Bring back r226403, the fix for bin/161526, which was (accidentally?)
reverted in r238896.
PR: bin/161526
Reported by: Karli.Sjoberg slu.se
MFC afte
Author: trociny
Date: Sun Dec 29 19:02:33 2013
New Revision: 260049
URL: http://svnweb.freebsd.org/changeset/base/260049
Log:
Add mibs for hastd(1) queue stats.
MFC after:1 week
Modified:
head/usr.sbin/bsnmpd/modules/snmp_hast/BEGEMOT-HAST-MIB.txt
head/usr.sbin/bsnmpd/modules/snmp_
Author: trociny
Date: Tue Dec 10 20:09:49 2013
New Revision: 259196
URL: http://svnweb.freebsd.org/changeset/base/259196
Log:
Check remote protocol version only for the first connection (when it
is actually sent by the remote node).
Otherwise it generated confusing "Negotiated protocol ve
Author: trociny
Date: Tue Dec 10 20:06:41 2013
New Revision: 259195
URL: http://svnweb.freebsd.org/changeset/base/259195
Log:
Send wakeup to threads waiting on empty queue before releasing the
lock to decrease spurious wakeups.
Submitted by: davidxu
MFC after:2 weeks
Modified:
he
Author: trociny
Date: Tue Dec 10 20:05:07 2013
New Revision: 259194
URL: http://svnweb.freebsd.org/changeset/base/259194
Log:
In remote_send_thread, if sending a request fails don't take the
request back from the receive queue -- it might already be processed
by remote_recv_thread, which lea
Author: trociny
Date: Tue Dec 10 20:02:09 2013
New Revision: 259193
URL: http://svnweb.freebsd.org/changeset/base/259193
Log:
Fix compiler warnings.
MFC after:2 weeks
Modified:
head/sbin/hastd/nv.c
head/sbin/hastd/proto.c
Modified: head/sbin/hastd/nv.c
Author: trociny
Date: Tue Dec 10 19:58:10 2013
New Revision: 259192
URL: http://svnweb.freebsd.org/changeset/base/259192
Log:
Add some macros to make the code more readable (no functional chages).
MFC after:2 weeks
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primar
Author: trociny
Date: Tue Dec 10 19:56:26 2013
New Revision: 259191
URL: http://svnweb.freebsd.org/changeset/base/259191
Log:
For memsync replication, hio_countdown is used not only as an
indication when a request can be moved to done queue, but also for
detecting the current state of memsyn
Author: trociny
Date: Sun Nov 17 15:09:39 2013
New Revision: 258258
URL: http://svnweb.freebsd.org/changeset/base/258258
Log:
Deregister helper hooks on vnet destroy.
Modified:
head/sys/netinet/tcp_subr.c
Modified: head/sys/netinet/tcp_subr.c
=
t;Tom McLaughlin\ntmclaug
tota [label="TAKATSU Tomonari\nt...@freebsd.org\n2009/03/30"]
trasz [label="Edward Tomasz Napierala\ntr...@freebsd.org\n2007/04/12"]
trhodes [label="Tom Rhodes\ntrho...@freebsd.org\n2004/07/06"]
+trociny [label="Mikolaj Golub\ntroc.
Author: trociny
Date: Sat Oct 26 08:38:21 2013
New Revision: 257155
URL: http://svnweb.freebsd.org/changeset/base/257155
Log:
Make hastctl list command output current queue sizes.
Reviewed by: pjd
MFC after:1 month
Modified:
head/sbin/hastctl/hastctl.c
head/sbin/hastd/control.c
Author: trociny
Date: Sat Oct 26 08:35:54 2013
New Revision: 257154
URL: http://svnweb.freebsd.org/changeset/base/257154
Log:
Merging local and remote bitmaps must be protected by hr_amp lock.
This is believed to fix hastd crashes, which might occur during
synchronization, triggered by th
panic when leaving MC group in a kernel with VIMAGE enabled.
in_leavegroup() is called from an asynchronous task, and
igmp_change_state() requires that curvnet is set by the caller.
Concerning this more general solution from Gleb, with storing
Author: trociny
Date: Thu Sep 19 20:20:59 2013
New Revision: 255717
URL: http://svnweb.freebsd.org/changeset/base/255717
Log:
Fix comments.
Approved by: re (marius)
MFC after:3 days
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
==
Author: trociny
Date: Thu Sep 19 20:19:08 2013
New Revision: 255716
URL: http://svnweb.freebsd.org/changeset/base/255716
Log:
When updating the map of dirty extents, most recently used extents are
kept dirty to reduce the number of on-disk metadata updates. The
sequence of operations is:
Author: trociny
Date: Thu Sep 19 20:15:24 2013
New Revision: 255714
URL: http://svnweb.freebsd.org/changeset/base/255714
Log:
Use cv_broadcast() instead of cv_signal() when waking up threads
waiting on an empty queue as the queue may have several consumers.
Before the fix the following sc
Author: trociny
Date: Thu Sep 19 18:00:05 2013
New Revision: 255707
URL: http://svnweb.freebsd.org/changeset/base/255707
Log:
1. Properly clean pid files in the case of the error.
2. Write the supervisor pid before the restart loop, so we don't
uselessly rewrite it after every child resta
ild(pid, &mask) == 0 && restart) {
> sleep(1);
> goto restart;
> }
> pidfile_remove(pfh);
> + pidfile_remove(ppfh);
> exit(0); /* Exit status does not matter. */
> }
>
> @@ -240,7 +261,7 @@ static void
> usage(void)
> {
Author: trociny
Date: Fri Sep 13 18:45:10 2013
New Revision: 255523
URL: http://svnweb.freebsd.org/changeset/base/255523
Log:
Unregister inet/inet6 pfil hooks on vnet destroy.
Discussed with: andre
Approved by: re (rodrigc)
Modified:
head/sys/netinet/ip_input.c
head/sys/netine
Author: trociny
Date: Sun Sep 8 18:19:40 2013
New Revision: 255397
URL: http://svnweb.freebsd.org/changeset/base/255397
Log:
Relese the interface in the last.
Reviewed by: glebius
Approved by: re (kib)
Modified:
head/sys/netinet/ip_carp.c
Modified: head/sys/netinet/ip_carp.c
==
en destroying a vnet, due to inet/inet6 pfil hooks
are not being unregistered.
The attached patch fixes the issue for me. I am going to commit it if
there are no objections -- might the unregistration has been skipped
intentionally due to some unresolve
Author: trociny
Date: Sat Aug 24 11:59:51 2013
New Revision: 254776
URL: http://svnweb.freebsd.org/changeset/base/254776
Log:
Make ipfw nat init/unint work correctly for VIMAGE:
* Do per vnet instance cleanup (previously it was only for vnet0 on
module unload, and led to libalias leaks
Author: trociny
Date: Tue Aug 13 19:59:49 2013
New Revision: 254292
URL: http://svnweb.freebsd.org/changeset/base/254292
Log:
Virtualize carp(4) variables to have per vnet control.
Reviewed by: ae, glebius
Modified:
head/sys/netinet/ip_carp.c
Modified: head/sys/netinet/ip_carp.c
==
if ((s = tcp_log_addrs(inc, th, NULL, NULL)))
1045 log(LOG_DEBUG, "%s; %s: Timestamp missing, "
1046 "no action\n", s, __func__);
1047 }
--
Mikolaj Golub
__
+marko-p2.txt
>
> (2) Revert my Bluetooth patch:
>
> http://people.freebsd.org/~rodrigc/patch-revert-GRN-253255.txt
Thanks.
--
Mikolaj Golub
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
patch.
Concerning your combined patch, as I said previously I don't like very
much that dance with is_default_vnet. What is a purpose of it? As for
me, it only makes the code less readable. I would just set curvnet to
vnet0, as it is in Marko's patch.
--
Mikolaj Golub
_
On Sat, Jul 13, 2013 at 02:18:26PM +0300, Mikolaj Golub wrote:
> I wonder if it fails on current too? It looks this code is not there
> any more. I will try.
Yes. It crashes on current too. In pfattach(). Also, loading ipfw and
ipfw_nat causes panics in ipfw_init() and ipfw_nat_init(). Al
kern/169991
Or do you mean something else?
--
Mikolaj Golub
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
kldload/kldunload part and commit
the last separately after testing (and fixing affected modules if
there are).
> The other parts of the patch look OK.
So it works for you with your commit reverted and without Adrians'
netgraph patch?
--
Mikolaj Golub
__
re?
> + }
> +
> + error = sysctl_handle_int(oidp, &sc->sc_active, 0, req);
> + if ((error) || (req->newptr == NULL))
> + return (error);
> +
> + return (0);
> +}
--
Mikolaj Golub
___
svn-
to commit too (I suppose
Marko had good reasons to do this).
I can't comment the netgraph related parts of your patch as I have no
idea what is going on here. Though I think this could be committed
separately if it is needed.
--
Mikolaj Golub
___
sv
fix the issue in a more
generic way:
http://lists.freebsd.org/pipermail/freebsd-hackers/2012-November/041120.html
Unfortunately it was not tested. I think it would be very interesting
to try it with hotplugabble devices. (I don't have any so can't test).
--
Mikolaj Golub
_
Author: trociny
Date: Fri Jul 12 19:08:33 2013
New Revision: 253282
URL: http://svnweb.freebsd.org/changeset/base/253282
Log:
A complete duplication of binding should be allowed if on both new and
duplicated sockets a multicast address is bound and either
SO_REUSEPORT or SO_REUSEADDR is set.
che {
> u_int cache_limit;
> u_int rexmt_limit;
> u_int hash_secret;
> + struct vnet *sch_vnet;
I think you meant here:
+ struct vnet *vnet;
--
Mikolaj Golub
___
svn-src-head@freebsd.org mailing list
http://
Author: trociny
Date: Wed Jul 10 19:44:43 2013
New Revision: 253167
URL: http://svnweb.freebsd.org/changeset/base/253167
Log:
In r227839, when removing libkvm dependency on procfs(5),
kvm_uread() function, used for reading from /proc/pid/mem, was
removed too. But the function declaration rem
On Thu, Jul 04, 2013 at 06:38:01PM +, Mikolaj Golub wrote:
> Author: trociny
> Date: Thu Jul 4 18:38:00 2013
> New Revision: 252710
> URL: http://svnweb.freebsd.org/changeset/base/252710
>
> Log:
> In r227207, to fix the issue with possible NULL inp_socket pointer
&g
Author: trociny
Date: Thu Jul 4 18:38:00 2013
New Revision: 252710
URL: http://svnweb.freebsd.org/changeset/base/252710
Log:
In r227207, to fix the issue with possible NULL inp_socket pointer
dereferencing, when checking for SO_REUSEPORT option (and SO_REUSEADDR
for multicast), INP_REUSEPOR
is created and it makes no sense for a network
> management system to change it.
Yes, it was intended to be read-only. Fixed. Thank you for spotting this.
--
Mikolaj Golub
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listin
Author: trociny
Date: Wed Jul 3 05:54:23 2013
New Revision: 252540
URL: http://svnweb.freebsd.org/changeset/base/252540
Log:
hastResourceWorkerPid is read-only.
Submitted by: jilles
MFC after:3 days
Modified:
head/usr.sbin/bsnmpd/modules/snmp_hast/BEGEMOT-HAST-MIB.txt
Modified: h
Author: trociny
Date: Tue Jul 2 18:54:39 2013
New Revision: 252516
URL: http://svnweb.freebsd.org/changeset/base/252516
Log:
Add a mib for worker process ID.
MFC after:3 days
Modified:
head/usr.sbin/bsnmpd/modules/snmp_hast/BEGEMOT-HAST-MIB.txt
head/usr.sbin/bsnmpd/modules/snmp_ha
Author: trociny
Date: Mon Jul 1 18:41:07 2013
New Revision: 252472
URL: http://svnweb.freebsd.org/changeset/base/252472
Log:
Make hastctl(1) ('list' command) output a worker pid.
Reviewed by: pjd
MFC after:3 days
Modified:
head/sbin/hastctl/hastctl.c
head/sbin/hastd/control.c
Author: trociny
Date: Mon Jul 1 03:27:14 2013
New Revision: 252436
URL: http://svnweb.freebsd.org/changeset/base/252436
Log:
Plug up the lock lock leakage when exporting to a short buffer.
Reported by: Alexander Leidinger
Submitted by: mjg
MFC after:1 week
Modified:
head/sys/ke
Author: trociny
Date: Fri Jun 28 18:07:41 2013
New Revision: 252349
URL: http://svnweb.freebsd.org/changeset/base/252349
Log:
Rework r252313:
The filedesc lock may not be dropped unconditionally before exporting
fd to sbuf: fd might go away during execution. While it is ok for
DTYPE_VN
On Fri, Jun 28, 2013 at 09:44:30AM +0300, Konstantin Belousov wrote:
> On Fri, Jun 28, 2013 at 03:03:46AM +0200, Mateusz Guzik wrote:
> > On Thu, Jun 27, 2013 at 07:14:04PM +, Mikolaj Golub wrote:
> > > Author: trociny
> > > Date: Thu Jun 27 19:14:03 2013
> >
Author: trociny
Date: Thu Jun 27 19:14:03 2013
New Revision: 252313
URL: http://svnweb.freebsd.org/changeset/base/252313
Log:
To avoid LOR, always drop the filedesc lock before exporting fd to sbuf.
Reviewed by: kib
MFC after:3 days
Modified:
head/sys/kern/kern_descrip.c
Modified
On Fri, Jun 07, 2013 at 02:33:08PM +0400, Gleb Smirnoff wrote:
> On Fri, Jun 07, 2013 at 10:27:51AM +0000, Mikolaj Golub wrote:
> M> Author: trociny
> M> Date: Fri Jun 7 10:27:50 2013
> M> New Revision: 251490
> M> URL: http://svnweb.freebsd.org/changeset/base
Author: trociny
Date: Fri Jun 7 10:27:50 2013
New Revision: 251490
URL: http://svnweb.freebsd.org/changeset/base/251490
Log:
Properly set curvnet context in lagg_port_setlladdr() task handler.
Reported by: Nikos Vassiliadis
Submitted by: zec
Tested by:Nikos Vassiliadis
MFC aft
Author: trociny
Date: Sun May 12 13:42:49 2013
New Revision: 250564
URL: http://svnweb.freebsd.org/changeset/base/250564
Log:
Revert r250394, which disabled snmp_hast due to libl dependency issue --
the dependency has been removed in r250503.
Modified:
head/usr.sbin/bsnmpd/modules/Makefile
Author: trociny
Date: Sat May 11 09:51:44 2013
New Revision: 250503
URL: http://svnweb.freebsd.org/changeset/base/250503
Log:
Get rid of libl dependency. We needed it only to provide yywrap. But
yywrap is not necessary when parsing a single hast.conf file.
Suggested by: kib
Reviewed b
Author: trociny
Date: Thu May 9 11:10:46 2013
New Revision: 250405
URL: http://svnweb.freebsd.org/changeset/base/250405
Log:
Move snmp_hast manual to section 3, where all other manual pages for
bsnmp modules are located.
Section 3 (Library Functions) looks wrong for this manual page, whi
On Thu, May 09, 2013 at 11:22:43AM +0300, Konstantin Belousov wrote:
> On Thu, May 09, 2013 at 10:14:14AM +0300, Mikolaj Golub wrote:
> > On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote:
> > > On Wed, May 8, 2013 at 4:25 PM, Peter Wemm wrote:
> > > >
On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote:
> On Wed, May 8, 2013 at 4:25 PM, Peter Wemm wrote:
> > On Wed, May 8, 2013 at 1:03 PM, Mikolaj Golub wrote:
> >> Author: trociny
> >> Date: Wed May 8 20:03:37 2013
> >> New Revision: 250379
Author: trociny
Date: Wed May 8 20:04:32 2013
New Revision: 250380
URL: http://svnweb.freebsd.org/changeset/base/250380
Log:
Register OID for HAST module.
MFC after:2 weeks
Modified:
head/contrib/bsnmp/oid-list
Modified: head/contrib/bsnmp/oid-list
=
8
20:03:37 2013(r250379)
@@ -0,0 +1,298 @@
+--
+-- Copyright (c) 2013 Mikolaj Golub
+-- All rights reserved.
+--
+-- Redistribution and use in source and binary forms, with or without
+-- modification, are permitted provided that the following conditions
+-- are met:
+-- 1
Author: trociny
Date: Wed May 8 19:11:47 2013
New Revision: 250378
URL: http://svnweb.freebsd.org/changeset/base/250378
Log:
Make errbuf optional, so if a caller is not interested in an error
message she can pass NULL (procstat(1) already does this).
MFC after:2 weeks
Modified:
he
rbuf != NULL)
snprintf(errbuf, ...
It looks like there are callers who are not interested in errbuf
content. E.g. currently procstat(1) passes NULL when calling functions
that require errbuf, namely procstat_get_socket_info and
procstat_get_vnode_info, potentially crashing here if an error occurs.
Do you (an
Author: trociny
Date: Wed May 1 15:02:58 2013
New Revision: 250147
URL: http://svnweb.freebsd.org/changeset/base/250147
Log:
procstat_getpathname: for kvm method, instead of returning the error
that the method is not supported, return an empty string.
This looks more handy for callers li
Author: trociny
Date: Wed May 1 15:01:05 2013
New Revision: 250146
URL: http://svnweb.freebsd.org/changeset/base/250146
Log:
KVM method support for procstat_getgroups, procstat_getumask,
procstat_getrlimit, and procstat_getosrel.
MFC after:3 weeks
Modified:
head/lib/libprocstat/li
Author: trociny
Date: Wed May 1 14:59:16 2013
New Revision: 250145
URL: http://svnweb.freebsd.org/changeset/base/250145
Log:
Introduce a constant, ELF_NOTE_ROUNDSIZE, which evidently declare our
intention to use 4-byte padding for elf notes.
MFC after:3 weeks
Modified:
head/sys/ke
Author: trociny
Date: Sun Apr 21 20:51:53 2013
New Revision: 249741
URL: http://svnweb.freebsd.org/changeset/base/249741
Log:
Remove code duplication.
Modified:
head/sbin/hastctl/hastctl.c
Modified: head/sbin/hastctl/hastctl.c
=
Author: trociny
Date: Sun Apr 21 17:10:10 2013
New Revision: 249731
URL: http://svnweb.freebsd.org/changeset/base/249731
Log:
Embed revision id in the library.
MFC after:29 days
Modified:
head/lib/libprocstat/core.c
Modified: head/lib/libprocstat/core.c
=
d:
> head/lib/libprocstat/libprocstat.3
Thanks!
--
Mikolaj Golub
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Author: trociny
Date: Sat Apr 20 15:37:33 2013
New Revision: 249704
URL: http://svnweb.freebsd.org/changeset/base/249704
Log:
Wrong cast.
MFC after:1 month
Modified:
head/usr.bin/gcore/elfcore.c
Modified: head/usr.bin/gcore/elfcore.c
=
Author: trociny
Date: Sat Apr 20 08:25:14 2013
New Revision: 249688
URL: http://svnweb.freebsd.org/changeset/base/249688
Log:
Bump date.
Modified:
head/lib/libprocstat/libprocstat.3
Modified: head/lib/libprocstat/libprocstat.3
=
Author: trociny
Date: Sat Apr 20 08:23:19 2013
New Revision: 249687
URL: http://svnweb.freebsd.org/changeset/base/249687
Log:
Sync gcore(1) with the recent changes in kernel code aimed at adding
procstat notes to a process core file.
Suggested by: jhb
MFC after:1 month
Modified:
Author: trociny
Date: Sat Apr 20 08:22:09 2013
New Revision: 249686
URL: http://svnweb.freebsd.org/changeset/base/249686
Log:
Make use of newly added libprocstat(3) ability to extract procstat
info from a process core file.
So now one can run procstat(1) on a process core e.g. to get a li
Author: trociny
Date: Sat Apr 20 08:19:06 2013
New Revision: 249685
URL: http://svnweb.freebsd.org/changeset/base/249685
Log:
Use procstat_getkstack(3) for retrieving process kernel stacks
instead of direct sysctl calls.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
Author: trociny
Date: Sat Apr 20 08:17:20 2013
New Revision: 249684
URL: http://svnweb.freebsd.org/changeset/base/249684
Log:
Add procstat_getkstack function to dump kernel stacks of a process.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat/libproc
Author: trociny
Date: Sat Apr 20 08:15:43 2013
New Revision: 249683
URL: http://svnweb.freebsd.org/changeset/base/249683
Log:
Use libprocstat(3) to retrieve ELF auxiliary vector.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
head/usr.bin/procstat/procstat.h
head/us
Author: trociny
Date: Sat Apr 20 08:13:35 2013
New Revision: 249682
URL: http://svnweb.freebsd.org/changeset/base/249682
Log:
This should have been committed in r249666.
MFC after:1 month
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
=
Author: trociny
Date: Sat Apr 20 08:10:47 2013
New Revision: 249681
URL: http://svnweb.freebsd.org/changeset/base/249681
Log:
Add procstat_getauxv function to retrieve a process auxiliary vector.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat/core.
Author: trociny
Date: Sat Apr 20 08:08:29 2013
New Revision: 249680
URL: http://svnweb.freebsd.org/changeset/base/249680
Log:
Use libprocstat(3) to retrieve process command line arguments and
environment variables.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
head
Author: trociny
Date: Sat Apr 20 08:07:04 2013
New Revision: 249679
URL: http://svnweb.freebsd.org/changeset/base/249679
Log:
Extend libprocstat with functions to retrieve process command line
arguments and environment variables.
Suggested by: stas
Reviewed by: jhb and stas (initial ve
Author: trociny
Date: Sat Apr 20 08:05:04 2013
New Revision: 249678
URL: http://svnweb.freebsd.org/changeset/base/249678
Log:
Use libprocstat(3) when retrieving binary information for a process.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
head/usr.bin/procstat/proc
Author: trociny
Date: Sat Apr 20 08:03:56 2013
New Revision: 249677
URL: http://svnweb.freebsd.org/changeset/base/249677
Log:
Add procstat_getosrel function to retrieve a process osrel info.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat/core.c
h
Author: trociny
Date: Sat Apr 20 08:02:43 2013
New Revision: 249676
URL: http://svnweb.freebsd.org/changeset/base/249676
Log:
Add procstat_getpathname function to retrieve a process executable.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat/libproc
Author: trociny
Date: Sat Apr 20 08:01:00 2013
New Revision: 249675
URL: http://svnweb.freebsd.org/changeset/base/249675
Log:
Use procstat_getrlimit(3) for retrieving rlimit information instead of
direct sysctl calls.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
h
Author: trociny
Date: Sat Apr 20 07:59:44 2013
New Revision: 249674
URL: http://svnweb.freebsd.org/changeset/base/249674
Log:
Add procstat_getrlimit function to retrieve a process resource limits info.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat
Author: trociny
Date: Sat Apr 20 07:58:20 2013
New Revision: 249673
URL: http://svnweb.freebsd.org/changeset/base/249673
Log:
Use procstat_getumask(3) for retrieving umaks information instead of
direct sysctl.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat_cred.c
Modif
Author: trociny
Date: Sat Apr 20 07:57:08 2013
New Revision: 249672
URL: http://svnweb.freebsd.org/changeset/base/249672
Log:
Add procstat_getumask function to retrieve a process umask.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat/core.c
head/l
Author: trociny
Date: Sat Apr 20 07:55:31 2013
New Revision: 249671
URL: http://svnweb.freebsd.org/changeset/base/249671
Log:
Use procstat_getgroups(3) for retrieving groups information instead of
direct sysctl.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
head/us
Author: trociny
Date: Sat Apr 20 07:54:07 2013
New Revision: 249670
URL: http://svnweb.freebsd.org/changeset/base/249670
Log:
Add procstat_getgroups function to retrieve process groups.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat/core.c
head/l
Author: trociny
Date: Sat Apr 20 07:52:23 2013
New Revision: 249669
URL: http://svnweb.freebsd.org/changeset/base/249669
Log:
Use more generic procstat_getvmmap(3) for retrieving VM layout of a process.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
head/usr.bin/procs
Author: trociny
Date: Sat Apr 20 07:50:59 2013
New Revision: 249668
URL: http://svnweb.freebsd.org/changeset/base/249668
Log:
Use procstat_getprocs(3) for retrieving thread information instead of
direct sysctl calls.
MFC after:1 month
Modified:
head/usr.bin/procstat/procstat.c
he
Author: trociny
Date: Sat Apr 20 07:49:35 2013
New Revision: 249667
URL: http://svnweb.freebsd.org/changeset/base/249667
Log:
Add procstat_getvmmap function to get VM layout of a process.
MFC after:1 month
Modified:
head/lib/libprocstat/Symbol.map
head/lib/libprocstat/libprocstat.3
(c) 2013 Mikolaj Golub
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this
Author: trociny
Date: Tue Apr 16 19:19:14 2013
New Revision: 249558
URL: http://svnweb.freebsd.org/changeset/base/249558
Log:
Add a new set of notes to a process core dump to store procstat data.
The notes format is a header of sizeof(int), which stores the size of
the corresponding data
Author: trociny
Date: Sun Apr 14 20:03:48 2013
New Revision: 249488
URL: http://svnweb.freebsd.org/changeset/base/249488
Log:
Similarly to proc_getargv() and proc_getenvv(), export proc_getauxv()
to be able to reuse the code.
MFC after:3 weeks
Modified:
head/sys/kern/kern_proc.c
Author: trociny
Date: Sun Apr 14 20:01:36 2013
New Revision: 249487
URL: http://svnweb.freebsd.org/changeset/base/249487
Log:
Re-factor the code to provide kern_proc_filedesc_out(), kern_proc_out(),
and kern_proc_vmmap_out() functions to output process kinfo structures
to sbuf, to make the c
Author: trociny
Date: Sun Apr 14 19:59:38 2013
New Revision: 249486
URL: http://svnweb.freebsd.org/changeset/base/249486
Log:
Re-factor coredump routines. For each type of notes an output
function is provided, which is used either to calculate the note size
or output it to sbuf. On the fir
Author: trociny
Date: Thu Apr 11 19:51:53 2013
New Revision: 249379
URL: http://svnweb.freebsd.org/changeset/base/249379
Log:
Document sbuf_start_section() and sbuf_end_section() functions.
MFC after:1 month
Modified:
head/share/man/man9/sbuf.9
Modified: head/share/man/man9/sbuf.9
=
Author: trociny
Date: Thu Apr 11 19:50:10 2013
New Revision: 249378
URL: http://svnweb.freebsd.org/changeset/base/249378
Log:
Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map.
MFC after:1 month
Modified:
head/lib/libsbuf/Symbol.map
head/lib/libsbuf/Version.def
Author: trociny
Date: Thu Apr 11 19:49:18 2013
New Revision: 249377
URL: http://svnweb.freebsd.org/changeset/base/249377
Log:
Add sbuf_start_section() and sbuf_end_section() functions, which can
be used for automatic section alignment.
Discussed with: kib
Reviewed by: kib
MFC a
1 - 100 of 276 matches
Mail list logo