summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-01Add defines for DRM_CAP_PRIME capability. Not implemented, but allowsmatthieu1-1/+5
the intel driver to build and work with X server 1.14. ok jsg@
2013-06-01Update the forw/backpara comments to reflect recent changes.lum1-7/+8
2013-06-01The k*() functions were moved to yank.c in 2005. Update the comment tolum1-3/+2
reflect this.
2013-06-01Introduce ltrace(1). This tool works with ld.so to inject utrace record formiod42-118/+702
each plt call, allowing to trace a binary linked against shared library at the public function call level. To do so, ltrace(1) sets up some environment variables to enable plt tracing in ld.so, and invokes ktrace(2) for utrace events. ld.so will force lazy binding and will send an utrace record in the plt resolver, without updating the plt. Minimal filtering capabilities are provided, inspired by Solaris' truss -u, to limit tracing to libraries and/or symbol names. Non-traced libraries and symbols will have the regular resolver processing, with the expected plt update. "Get it in" deraadt
2013-06-01Userland bits for utrace record handling; from otto@miod5-28/+58
2013-06-01tidy-up int declarations as suggested by florian@lum1-5/+3
2013-06-01regenmiod4-8/+30
2013-06-01Add utrace(2), a system call allowing for userland to send its own ktracemiod7-13/+183
records. From FreeBSD via otto@, with tweaks suggested by guenther@. Commite on behalf of otto@ who is not around, to ride the libc minor bump. Causes a librthread minor bump as well (new syscall).
2013-06-01Adjust M-} (forward-paragraph) to behave like emacs.lum1-23/+19
Bug fix and ok florian@
2013-06-01iterating over the ns list only matters for res_send_async.c, so moveeric3-39/+37
things around.
2013-06-01If a table contained at least one complete lineschwarze1-2/+2
and on its last line, the first T{ remained unclosed, roff_parseln() never returned ROFF_TBL for that last line, so {man,mdoc}_addspan() never got called for that last line, so we ended up with a table where no line associated with a node had TBL_SPAN_LAST set, so tbl_term() never free()'d the cols in struct roffcol, so tblcalc() crashed on the NULL == tbl->cols assertion when starting the *next* table in the same file. Fix this by returning ROFF_TBL as soon as we open a data cell, not only when finishing it - as explained above, it may never get properly closed but instead be interrupted by .TE. Problem reported by bentley@ in latex2man.1. I love it when bugs take half a day to debug but the fix turns out to be flipping one single bit in the source code.
2013-06-01some small style changes that are distracting me from seeing a real bugtedu2-27/+21
2013-06-01Make mutexes that get used in interrupts IPL_TTY instead of IPL_NONE.kettenis2-6/+6
ok jsg@
2013-06-01Fix the include. Spotted by and OK naddy.bmercer3-3/+3
2013-06-01string.h defines null for ustedu1-2/+1
2013-06-01no need to cast nulltedu2-15/+15
2013-06-01Don't set the Message ID for hello messages.claudio1-2/+3
The Message ID field is used by notification messages to identify a given message. This is the behavior adopted by Cisco IOS. Diff from Renato Westphal
2013-06-01Always advertise the Router-ID as the transport address.claudio4-25/+66
RFC 5036 - Section 2.5.2 says: An LSR MUST advertise the same transport address in all Hellos that advertise the same label space... To satisfy this condition, always advertise the Router-ID as the transport address by using the "IPv4 Transport Address" TLV in the generated Hello messages. From Renato Westphal
2013-06-01Add support for advertising route information (RFC 4191).brad6-7/+166
From FreeBSD via UMEZAWA Takeshi ok bluhm@
2013-06-01Setup miniroot for the arm boards.bmercer6-2/+84
get it in deraadt@
2013-06-01remove bogus XXX comment, 32 is just the way it is.jasper1-4/+4
2013-06-01Add vmx(4) to the kernel config, but comment it out for now.reyk3-4/+11
ok deraadt@
2013-06-01Remove the old mkuboot since it was moved.bmercer3-395/+0
yes of course deraadt@
2013-06-01make the way of doing debug printfs genericjasper1-13/+7
2013-05-31clean up some IFS and input handlinghalex1-21/+9
ok rpe@
2013-05-31Unfuck BGP MPLS VPNs that got broken by the last few reload related commits.claudio2-10/+17
OK henning@
2013-05-31export the original aka untranslated address for af-to in pflowflorian1-38/+39
inspired by benno@'s previous diff for nat-to tests/ok benno@
2013-05-31Fix the build for a kernel without wd and pciide in its config.bluhm1-1/+6
OK deraadt@ tedu@
2013-05-31More cleanup: Consistently use the name "struct tbl_node *tbl"schwarze2-30/+30
that is already used almost everywhere instead of gratuitiously inventing different names at four places. No functional change.
2013-05-31Replace shutdownhooks with activate functions, properly doing thosederaadt6-63/+154
operations only if device is console ok kettenis
2013-05-31The name "struct tbl" was badly misleading for two reasons:schwarze5-34/+34
1) This struct almost exclusively contains the table options. 2) Information about the table as a whole is actually in "struct tbl_node". Besides, "struct tbl" was almost impossible to search for. So rename it to "struct tbl_opts". No functional change.
2013-05-31Correct sequencing in ca_activate function. Some operations were in thederaadt3-9/+15
wrong order, and depth traversal was not gauranteed. ok stsp (tested too)
2013-05-31doesn't need any headerstedu1-3/+1
2013-05-31minor tweakstedu1-4/+5
2013-05-31fixietedu1-2/+2
2013-05-31Add getprogname() and setprogname() to ease slackers^porters' work.ajacoutot7-13/+174
Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@
2013-05-31open up some races. if pool_debug == 2, force a yield() whenever waitok.tedu2-4/+13
ok miod
2013-05-31unset cte->buf after free, fix double free via tcp_close().benno1-2/+4
ok reyk@
2013-05-31Add a manpage for the newly added vmx(4) driver.reyk3-4/+116
2013-05-31Add vmx(4), driver for VMware's VMXNET3 ethernet controller, written for IIJ.uebayasi2-0/+1518
Tested by reyk@, yasuoka@ OK'ed by reyk@, deraadt@
2013-05-31lookup() and relookup() have 'vfs_' prefixguenther2-32/+55
Document NDINITAT(), STRIPSLASHES, and ni_dirfd Tweak some other markup to appear more consistent ok matthew@ schwarze@ jmc@
2013-05-31We need to halt the APs on MP hibernate resume or else they will bemlarkin5-1/+49
executing code possibly causing side effects during the image unpack operation. But before we can halt the APs, we need to complete their init (as they will be hatched but idling, possibly with interrupts off). Introduces MD function hibernate_quiesce_cpus to do this, called from the MI hibernate resume code. ok deraadt
2013-05-31Correct the range checks in ifconfig properly for vhid, advbase and advskew.yasuoka2-8/+8
Clarify about the ranges in the man page. ok mpf mcbride
2013-05-31Demote the old single-character replacement variables (#S and friends)nicm2-150/+95
to aliases of formats. From Tiago Cunha.
2013-05-31don't truncate trailing zeros from the round-trip times; ok deraadt@ sthen@naddy1-2/+2
2013-05-31Add host_short format, from Tiago Cunha.nicm2-22/+59
2013-05-31also listen on v6 by default; ok matthieu@ deraadt@naddy1-1/+2
2013-05-31Use internal type names, including __ino_t, for the members of structguenther1-5/+5
dirent. Better mnemonic and fixes non-XPG use ok matthew@ pirofti@
2013-05-31Rename tpms(4), the driver for Apple USB touchpads, to utpms(4) and movempi7-206/+156
it to dev/usb because it could be used on intel based mac laptops. Discussed with jcs@, ok deraadt@
2013-05-31Change option -mcpu=armv5 to -march=armv6 and move it to Makefile.beagle.rapha3-7/+5
ok bmercer@