summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-22rewrite promiscuous mode and multicast handling; from BradChristian Weisgerber
2009-12-22Crap. Remove debug code that I did not plan to commit.Claudio Jeker
2009-12-22implement -C (silent -c), required by POSIX.1-2008;Ingo Schwarze
patch from Daniel Dickman <didickman at gmail dot com> tweaked by me; "looks ok" millert@, manual help and ok jmc@
2009-12-22Holy inconsitancy Batman! While it is impossible to use embeded scope idsClaudio Jeker
in almost all sockaddr_in6 addresses it is required for the nexthop and sin6_scope_id is actually ignored there. This needs to be fixed but my quota of IPv6 insanity is already used for today. Workaround for now. My simple testsetup is now actually able to install the first ospf6d learned routes in the kernel. Weeee!
2009-12-22Add interface index aka. scope id to struct kroute so that the rde can passClaudio Jeker
this information to kroute and kroute can use that information to fill in the various sin6_scope_id fields.
2009-12-22progressmeter always, unless -x is givenTheo de Raadt
ok espie
2009-12-22add `1' to the interactive command list too; from Mark LumsdenJason McIntyre
2009-12-22Use log_in6addr_scope() to print the correct nexthop.Claudio Jeker
2009-12-22Link local addressing strikes again. Include ifindex in all nexthopClaudio Jeker
definitions so that we have a chance to build a correct nexthop. Insane that a struct in6_addr is unable to fully specify an IPv6 address. kroute.c still needs fixing but now the rib is starting to make sense.
2009-12-22re-adding a group that exists is not an errorTheo de Raadt
ok claudio
2009-12-22Implement log_in6addr_scope() yet another function doing the same thingClaudio Jeker
again but different because of link local addressing.
2009-12-22Use correct interface id. iface_id is our ifindex, nbr_iface_id is theClaudio Jeker
interface id of the remote side. Found the hard way.
2009-12-22Give calc_nexthop_lladdr() a chance to find the correct link local address.Claudio Jeker
We need to pass our ifindex so that we can find the Link-LSA that has the link local address stored for that router. Don't we all like IPv6 link local addresses and their insanity.
2009-12-22Revert last commit, I should have checked with damien@ first.Stuart Henderson
2009-12-22add -1 to show_help(); from Mark LumsdenJason McIntyre
2009-12-22Create sysmerge etcsum file at release time for etc set inclusion.Antoine Jacoutot
This way, the first time sysmerge is run on a new box, it will already have reference sums needed for automatic processing. Original idea from and discussed with deraadt@ "commit it" deraadt@, tweaks and ok millert
2009-12-22- two more typo's spotted by Brad TilleyJasper Lievisse Adriaanse
2009-12-22- tyop, spotted by Brad TilleyJasper Lievisse Adriaanse
2009-12-22Sort pci ids, from Brad.Stuart Henderson
2009-12-22Fix a couple of problems with grouped sessions reported by danh: redrawNicholas Marriott
properly and choose the correct last window after a window is killed.
2009-12-22treat the front headphone jack more like a built-in speaker. make it'sJacob Meuser
default DAC receive the first playback stereo channel pair if the DAC wouldn't otherwise be used and allow the jack's output volume to be controlled by outputs.master by default. this was already mostly implemented for codecs with 3 or more dacs, but front headphone jacks are also common on 2 dac codecs as well.
2009-12-21typo in comment; Holger MikolonStuart Henderson
2009-12-21Add uthum(4) to arches I could test it. ok deraadt@.Matthieu Herrb
2009-12-21Cleanup promiscuous mode and multicast handling. From Brad.Mark Kettenis
2009-12-21syncTheo de Raadt
2009-12-21Another AF_INET that should be an AF_INET6.Claudio Jeker
2009-12-21Doh! It helps to load the IPv6 routing table into kroute instead of IPv4.Claudio Jeker
2009-12-21Some cleaning for the rl(4) driver:Christian Weisgerber
- ANSI - KNF - remove the use of register from Brad
2009-12-21check new package later, after we're sure of the set.Marc Espie
avoid asking the user for @exec twice, as noticed by kettenis@
2009-12-21enable ospf6d, ospf6ctl, ldpd and ldpctl in builds. There is no reason toClaudio Jeker
not build these binaries by default. "go for it" deraadt@
2009-12-21if we're not in a "pretend" mode, synchronization operations on vstat occurMarc Espie
after the files have been committed to the file system, so we can forget about them... I don't know where I lost that change, restores pkg_add memory usage to very small values...
2009-12-21document recent changes, clean up old pkg_delete optionsMarc Espie
2009-12-21consistent spellingMarc Espie
2009-12-21much simpler SIG{INFO} handling: create a status object in state andMarc Espie
update it when needed. Install a SIG{INFO} handler at start that will do what's needed.
2009-12-20When using ptrace(), death of the traced process should always sendPhilip Guenthe
SIGCHLD to the tracer, even if the real parent requested an alternate exit signal. So, delay clearing the P_TRACED flag from exit1() to sys_wait4() so that we don't send the wrong signal from reaper(). Originally discussed with kurt months ago "looks good" deraadt@
2009-12-20svr4_sys_waitsys() was seemingly implemented by copying sys_wait4()Philip Guenthe
and hacking on it. Since then, some of the details of finishing a wait have changed (p_exitsig handling), so factor out the common bit into into proc_finish_wait() and have both sys_wait4() and svr4_sys_waitsys() call that to kill the divergence. "looks good" deraadt@
2009-12-20fix an incorrect magic number and typo in PROTOCOL; bz#1688Damien Miller
report and fix from ueno AT unixuser.org
2009-12-20change verbosity handling: be silent by default, turn on the first level if -v.Marc Espie
Add more levels, specifically, lots of info regarding individual files only visible if -vvvvv. Make -n display the same stuff as normal (need -n -v to display more stuff). Introduce -s, "size-only", turns on -n and does skip any extraction. Sprinkle handlers for SIG_INFO, not really nice yet. Note that -n is non functional for complex updates, because of caching issues I have to fix.
2009-12-20Use the standard wording, requested by jmc@.Ingo Schwarze
Actually, this is much closer to the original submission by Daniel Dickmann.
2009-12-20zap trailing whitespace;Jason McIntyre
2009-12-20find -LH was -L, but must be -H according to POSIX;Ingo Schwarze
patch from Daniel Dickman <didickman at gmail dot com> via tech@, though i'm updating the manual in a different way; ok millert@ "looks good" deraadt@
2009-12-20Removed lstat, because fstat will do most of the checks later on. MakeTobias Stoeckmann
sure with open() that we don't follow symbolic links. With input by and ok millert, ok deraadt
2009-12-20Properly fill password string with zeros after use on unprivileged side ofTobias Stoeckmann
fork() setup. ok deraadt, millert
2009-12-20compile in utrhTheo de Raadt
2009-12-20reminding people about afterboot on every single login is stupid.Theo de Raadt
2009-12-20First shot at making this manual page not look like a black sheep. BeenTheo de Raadt
looking at it with claudio since I started doing more routing stuff.
2009-12-20Make use of the new mknetid(8) -P flag.Ingo Schwarze
Actually, i just realized this is *required* in case you are using a non-standard DIR without a passwd(5) file, so i'm committing this simple change right away.
2009-12-20When a passwd(5) file is not available, fall back to master.passwd(5).Ingo Schwarze
That's useful because the latter is needed for passwd-maps, anyway. Make the master.passwd file name configurable in the same way as passwd. While here, do a bit of cleanup: - Drop the HOSTS, PASSWD, GROUP, NETID #defines: They are used nowhere else and serve no purpose. - Use err(3), it's simpler and more precise than fprintf(3)+goto. - Drop a debug statement forgotten a decade ago. - In the manual, improve .Nd, DESCRIPTION and .Xrs. Originally triggered by edd@'s gripes with our yp implementation. Regarding the manual, using many tweaks from jmc@. "I like this" ajacoutot@ "I think it's a good idea" edd@ "no opinion", "you decide" deraadt@
2009-12-20When passing user-controlled options with arguments to other programs,Philip Guenthe
pass the option and option argument as separate argv entries and not smashed into one (e.g., as -l foo and not -lfoo). Also, always pass a "--" argument to stop option parsing, so that a positional argument that starts with a '-' isn't treated as an option. This fixes some error cases as well as the handling of hostnames and filenames that start with a '-'. Based on a diff by halex@ ok halex@ djm@ deraadt@
2009-12-19Implement proper error handling for getgrent(3), getgrnam(3) and getgrgid(3).Ingo Schwarze
1) Distinguish normal end of data (like eof, YPERR_NOMORE, YPERR_KEY) from error conditions. 2) Save errno(2) and restore it in case of success, as suggested by deraadt@ and beck@. While this code is touched, * move the common code for the yp_first and yp_next calls after the respective if/else-block; note that free(data) is not needed in case of failure and that __ypcurrent = NULL does no harm after failing yp_first. * return 0, not NULL: the return value of grscan is int, not a pointer. This is the last part of the work done on getgrent.c during c2k9, heavily relying on the other improvements done at that time. This has been rotting in my tree far too long. "get it in" deraadt@; also lightly tested by simon@ some time ago