summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-15Basic pledge for vi.Anthony J. Bentley
ok deraadt@
2015-11-15syncTheo de Raadt
2015-11-15Add ifmedia definitions for 802.11n.Stefan Sperling
ok deraadt mpi phessler kettenis guenther
2015-11-14libocurses can go to the Attic. last consumer of it was ramdisk more(1)Theo de Raadt
conceptual ok guenther millert nicm
2015-11-14Fix an issue reported by deraadt@: When hitting Ctrl-Backslash (= SIGQUIT)Ingo Schwarze
in the less(1) spawned by man(1), man(1) died uncleanly, leaving behind its temp files, and killed less(1) uncleanly as well with SIGPIPE, leaving the terminal in the wrong state. Fix this by giving less(1) its own process group and handing it control of the terminal, but in such a way that Ctrl-z (= SIGSTOP) still works: In that case, let man(1) stop itself, too, and let it continue the pager when it continues itself. Joint work with millert@ who contributed most of the expertise required, and also most parts of the code. OK deraadt@ millert@
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2015-11-14no longer need -locurses, since more is selfcontainedTheo de Raadt
2015-11-14Copy the parts of libocurses that are needed directly to here. WeTheo de Raadt
continue using the libocurses varient, since it is smaller. tested by guenther, ok millert
2015-11-14Copy the parts of libocurses that are needed directly to here. WeTheo de Raadt
continue using the libocurses varient, since it is smaller. tested by guenther, ok millert
2015-11-14info - pledge stdio rpath wpath cpath getpw tty proc execTheo de Raadt
infokey - stdio rpath wpath cpath tty makeinfo - stdio rpath wpath cpath getpw install-info - stdio rpath wpath cpath proc exec texindex - stdio rpath wpath cpath tmppath ok schwarze
2015-11-14Add pathconf() to pledge "rpath"; ok guentherTheo de Raadt
2015-11-14Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in thePhilip Guenther
non-syscall .S source ok millert@ miod@
2015-11-14The install media version does not need -lcurses; spotted by krwTheo de Raadt
2015-11-14syncTheo de Raadt
2015-11-14The people who wrote this code are not on your sideStuart Henderson
2015-11-14Since -l is ignored if -c/-h/-s are specified, make that combinationKenneth R Westerback
invalid and mention the constraint in usage(). Modify the appropriate field(s) of the global 'disk' as -l/-c/-h/-s are encountered. As a result use the disklabel information to populate the global 'disk' only when it has not already been populated. Move test for 'disk' validity into DISK_open().
2015-11-14Symbol table tells me to use pledge "stdio rpath wpath cpath"Theo de Raadt
2015-11-14syncTheo de Raadt
2015-11-14Correct check flipped in earlier commit.Philip Guenther
Eliminate unnecessary isupper() tests before tolower() use ok millert@
2015-11-14Betting pledge "stdio rpath wpath cpath" works for this. Let's get it intoTheo de Raadt
the ports build cycle to find out for sure.
2015-11-14Do not include <net/if_vlan_var.h> when it's not necessary.Martin Pieuchot
Because of the VLAN hacks in mpw(4) this file still contains the definition of "struct ifvlan" which depends on <sys/refcnt.h> which in turns pull <sys/atomic.h>...
2015-11-14pledge 'stdio rpath wpath cpath", since that is all large program does.Theo de Raadt
NOTE: cc1 uses brk/sbrk, which was only enabled in pledge a few hours ago. So this requires a fairly new kernel if compiling monster c++ programs..
2002-06-10TeXinfo 4.2, much more robust html (and other formats) output, and a few Marc Espie
features that new FSF programs will need (e.g., gcc snapshots). looked at by fgs@, thanks.
2015-11-14Consolidate usage() checking for -c/-h/-s with other checks. TweakKenneth R Westerback
usage() verbiage a bit so it's clear all of '-c -h -s' are required if any are used.
2015-11-14Add missing header found while removing <sys/srp.h> from <sys/param.h>Martin Pieuchot
2015-11-14No need to include <net/bpfdesc.h>Martin Pieuchot
Now that "struct bpf_d" depends on <sys/srp.h> this is one of the offender for removing the header from <sys/param.h>
2015-11-14Fix the obvious bug that with -z, every column was at least as wideIngo Schwarze
as the previous one. While here, shorten the -z code by one line.
2015-11-14Remove mrtdebug and reduce differences with the v6 version.Martin Pieuchot
Debug informations can already be accessed via mrtstat and pimstat.
2015-11-14Grab the KERNEL_LOCK around ip_mforward(), in preparation for unlockingMartin Pieuchot
ip_input(). Note that ipmforwarding is not enabled by default. ok deraadt@, phessler@
2015-11-14no need for a mirror-maker(7) mlink;Jason McIntyre
suggested by schwarze; ok sthen
2015-11-14mutli -> multiMiod Vallat
2015-11-14Various *syncron* -> *synchron* typos.Miod Vallat
2015-11-14Cleanup from unifdef: set sact.sa_flags to SA_RESTART instead ofTodd C. Miller
clearing it and then ORin in SA_RESTART.
2015-11-14Remove log_it() and call syslog(3) directly using the same format:Todd C. Miller
"(username) WHAT (details)". Logs due to normal operation (e.g. crontab operations or running commands) are logged at LOG_INFO like before. Actual errors are logged at LOG_ERR, less important things are logged at LOG_WARNING OR LOG_NOTICE. Also ignore SIGHUP now that there is no log file to reopen.
2015-11-14The character is an int so use %x not %hhx.Nicholas Marriott
2010-10-01import OpenSSL-1.0.0aDamien Miller
2015-11-14The private use area at U+E000 to U+F8FF is not very useful if it isNicholas Marriott
width 0, make it width 1 instead.
2015-11-14All these return values from utf8_* are confusing, use an enum.Nicholas Marriott
2015-11-14Rename a variable in utf8_combine for consistency and use 0xfffd forNicholas Marriott
unknown Unicode.
2015-11-14Couple of assignments to remove compiler warnings.Nicholas Marriott
2015-11-14Be more strict about invalid UTF-8.Nicholas Marriott
2015-11-14Push stdout and stderr to clients more aggressively, and add an event toNicholas Marriott
continue if the send fails.
2015-11-14knock out obsolete mlinks for srandom and urandom;Jason McIntyre
2015-11-14pci at macepcibr, not macepcbir;Jason McIntyre
2015-11-14Log more of UTF-8 input.Nicholas Marriott
2015-11-14syncTheo de Raadt
2015-11-14regress: pledge: update SYS_kill syscall numberSebastien Marie
2015-11-14Give clear directions on how to declare, PROTO_*() and DEF_*() new symbolsPhilip Guenther
prodded by deraadt@
2015-11-14For pledge "stdio", allow the break(2) system call which backends the brk/sbrkTheo de Raadt
library routines. The manpage declares, in bold: The brk() and sbrk() functions are historical curiosities left over from earlier days before the advent of virtual memory management. In our base tree, only one program uses these functions -- cc1 in the gcc toolset. A historical curiosity using a historical curiosity, how quaint. brk is used because precompiled c headers are not position independent. Another program which relies upon brk is emacs. Other uses of brk are EXCEEDINGLY RARE, because most software grew up and use modern practices such as malloc and mmap, thereby gaining ASLR benefits. Position independence has become an important part of mitigations. These two programs fight such improvements. Permitting brk/sbrk allows the large attack surface of cc1 to be pledged. "I would rather have cc1 pledged than purity in pledge" guenther
2015-11-14Fix a missing unlock.Mike Larkin
From Stefan Kempf sn.kempf at t-online.de