summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-03-10Avoid memory leak if strdup should fail.Chad Loder
OK hshoexer@
2005-03-10split out uidinfo from kern_proc.c private, use it to store lock count,Ted Unangst
restrict lock count per uid to a global limit, add sysctl to adjust limit. this prevents a user from creating too many locks. problem noticed by devon o'dell. ok deraadt miod pedro
2005-03-10Avoid crash on finalization. We have been using this diffChad Loder
in production since mid-2003. OK hshoexer@, markus@, ho@
2005-03-10spacingTheo de Raadt
2005-03-10add -n command line switch to disable backup file generation, handyHenning Brauer
when you use mg for your mail from within mutt etc from PR3930, Carson Harding <harding@motd.ca>, Thanks!
2005-03-10the realpath() was needed to do do relative to absolute pathHenning Brauer
conversion. revert my diff that takes it out, and instead, on realpath() failure (like when you have no perms on pwd) just return the unexpanded path. everything still fine with that, just tab completeion and the like does not work (obviously). this was mainly for "sudo mg /etc/something" from ~ where ~ is nfs-mounted with root mapped to -2 and now, that case works as well as tab completion on insert-file etc.
2005-03-10switch keyword (Id -> OpenBSD) and prettier alignmentJean-Francois Brousseau
2005-03-10various formatting fixes;Jason McIntyre
2005-03-10syncTheo de Raadt
2005-03-10put miod's punctuation back; it's clearer than mine;Jason McIntyre
2005-03-10Bind to the correct outgoing interface by using the IP_RECVDSTADDR setsockopt.Claudio Jeker
This is a fix for PR4121. OK henning@ "I'm happy with" otto@
2005-03-10Regress test for ClearAllForwardings (bz #994); ok markus@Darren Tucker
2005-03-10Check listen addresses for null, prevents xfree from dying duringDarren Tucker
ClearAllForwardings (bz #996). From Craig Leres, ok markus@
2005-03-10the section is named "LOGGING FACILITY", not "Logging Facility";Jason McIntyre
also mention that it is "above", as this is one large page;
2005-03-10kill whitespace;Jason McIntyre
bring back a comma;
2005-03-10fix beacon handlingReyk Floeter
2005-03-10use bcopy and bzeroReyk Floeter
2005-03-10regenDavid Gwynne
2005-03-10Cisco-Linksys Wireless-G USB Network AdapterDavid Gwynne
2005-03-10Use correct byte order when printing out port numbers.Chad Loder
OK deraadt@, bruno rohee, hshoexer@, jaredy@
2005-03-10use fts_path if fts_name is not available, tweak and ok millertJared Yanovich
2005-03-09Do not leak Keynote sessions on failure. Also check snprintf returnChad Loder
value for truncation and failure. OK hshoexer
2005-03-09With some correct interrupt acknowledgement and register initialization,Dale Rahn
the pcic insert/removal polling can be removed. prod by uwe.
2005-03-09Wait for card to become ready after reset; ok drahn@Uwe Stuehler
2005-03-09access to the configuration address register of the 82443BX host bridge needsHans-Joerg Hoexer
to be 32bit aligned. deraadt@ just commit
2005-03-09nasty: host_dns used to run before forking and chrooting etc, so it wasHenning Brauer
guaranteed that its res_init() call was done once before fork etc... that is no longer the case. call res_init() in main() early.
2005-03-09syncTheo de Raadt
2005-03-09Check kn_init for failure.Chad Loder
OK hshoexer@, henning@
2005-03-09remove useless -DBACKUP from CFLAGS and change the comment for BACKUPHenning Brauer
to NOBACKUP what the code actually uses (and reverse the descr too of course) spotted by jmc@ quite some time ago, no binary change.
2005-03-09Merge sparc and MI fdc(4) manual pages, add sparc64 bits.Miod Vallat
2005-03-09syncTheo de Raadt
2005-03-09Preliminary support for the floppy drive on Ultrasparcs. Only tested onMiod Vallat
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@
2005-03-09Make the sun emulation match what the old SunOS cons(4) manual page describes:Miod Vallat
- Fix an uninitialized variable for ESC[p and ESC[q control sequences. - Skip invoxing wscons accessops when we know they'll have nothing to do (e.g. scroll 0 lines, erase 0 lines, etc) - Correctly handle spurious parameters in control sequences - the ones to take into account are the _last_ received, not the _first_. Which makes things pretty funny for control sequences requiring more than one parameter, since it is not mandatory to provide all parameters. ok todd@
2005-03-09Fail exec for disabled compat with EPERM rather than ENOEXEC.Miod Vallat
ok deraadt@ mickey@ millert@
2005-03-09unmaintained cruft, get rid of it instead of spreading bad infoJean-Francois Brousseau
ok xsa@
2005-03-09fix mg's behaviour with regards to files on which we do not haveJean-Francois Brousseau
write access. diff originally from vincent@ and forgotten for a while. ok rohee@, "toss it in, i'll bitch if it doesn't work" henning@
2005-03-09connect rcs/ stuffs; ok jfb jorisXavier Santolaria
2005-03-09enable -f option of `remove' command; ok jfb jorisXavier Santolaria
2005-03-09align, and don't override the standard BINOWN and BINMODEJean-Francois Brousseau
2005-03-09memcpy/memmove correctness here as wellHenning Brauer
2005-03-09correctness: memmove instead of memcpy where we might have overlapsHenning Brauer
2005-03-09when, after processing all complete imsgs we found in the buffer,Henning Brauer
there are some bytes left (less than an imsg header, or less than the imsg header len field says) we copy it to the very beginning of the buffer. use memmove instead of memcpy since it is not guaranteed that there's no overlap. while memcpy on OpenBSD is safe, it might not elsewhere, and we want our code to be correct anyways. funny enough theo and I talked at length about that last week in dublin, and I said I believe I had no memcpys with the chance of overlap in ntpd/bgpd - well, here is one, and Alexander von Gernler <grunk@pestilenz.org> pointed me to it.
2005-03-09List bus in a seperate column in the device list.Jonathan Gray
mdoc pointers from jmc@
2005-03-09Sync with reboot(8) man page.Kenji Aoyama
(luna88k and zaurus also work with -p option.) ok miod@
2005-03-09syncTheo de Raadt
2005-03-09in this case, clarity is requiredTheo de Raadt
2005-03-09- grammarJason McIntyre
- new sentence, new line
2005-03-09- spelling and grammarJason McIntyre
- unneeded .Pp
2005-03-09regenJonathan Gray
2005-03-09Add ATI RS100 entries found in a dmesg from tristan at ltdev.arubaon.comJonathan Gray
Correct RS200 entries while here.