Commit Graph

1839 Commits

Author SHA1 Message Date
skrll
79e4d54844 PR/48944: cron ignores '?' (question mark) time field
Fix the obvious merge botch.
2014-06-24 09:17:54 +00:00
christos
a362d64092 even more detailed logging 2014-06-23 01:00:48 +00:00
dholland
b30059e657 Log some actual information on various failures, so you can tell
what happened.
2014-06-21 04:33:53 +00:00
spz
0c0b9daba7 make sure we have a log message at the appropriate level (error) on
why pam is failing in the case of an included pam config file missing.

example: instead of logging with the default log settings:
Jun 17 08:49:37 tucana su: pam_start failed: system error
it will log:
Jun 17 08:55:49 tucana su: in openpam_parse_chain(): failed loading include for service gibbetnich in /etc/pam.d/su(15): No such file or directory
Jun 17 08:55:49 tucana su: pam_start failed: system error
2014-06-17 07:08:47 +00:00
christos
84b1233b4e From Darren Reed: #548 ipfstat hits a bus error on netbsd/sparc64 2014-06-16 12:37:58 +00:00
roy
11fd74d7c7 Fix for dhcpcd-6.4.0 2014-06-14 21:00:22 +00:00
roy
1578cb1fcc Sync 2014-06-14 20:55:37 +00:00
roy
a468f856ed Import dhcpcd-6.4.0 with the following changes:
*  Only fork when the RA has a RDNSS option AND a valid prefix OR no DHCPv6 instruction.
  *  Handle BSD per interface rtadv kernel flag.
  *  Add a reject route for the delegated prefix so that unassigned prefixes don't go back upstream.
  *  If not specified, Delegated Prefixes will get an automatic SLA of the interface index. If the biggest SLA and the assigned prefix fits into a /64 then dhcpcd creates a /64 prefix so that SLAAC works. If bigger than /64 is needed then dhcpcd creates one rounded upto the nearest multiple of 8. Unless a configured SLA of 0 is assigned, a reject route for the Delegated Prefix is installed to stop unassigned addresses trying to be resolved upstream. Addresses added from Delegated Prefixes now have a default address suffix of 1 instead of using a SLAAC style address.
  *  Don't spam timezone updates unless its actually changed.
  *  Support ND6_IFF_OVERRIDE_RTADV on BSD.
  *  Document why we don't send both FQDN and hostname options.
  *  Respect RFC4861 MAX_RTR_SOLICITATION_DELAY as specified in section 6.3.7.
  *  RFC2131 section 4.4.1 states the client SHOULD wait a random time between one and ten seconds to desynchronize the use of DHCP at startup. Instead we wait a random time between zero and one second to mirror the more modern IPv6RS and DHCPv6 standards unless overridden by defining RFC2131_STRICT.
  *  Always send a carrier as it's no longer encapsulated in the IPv4 stack. When stopping and not departed, run with the STOPPED reason but do not process it in hooks.
  *  Poll kernel neighbour reachability (SIOCGNBRINFO_IN6) for each router instead of sending and listening for Neighbour Soliciation/Advertisement packets. The kernel is privy to a lot more reachability information than userland is.
  *  Ensure that ND6_IFF_PERFORMNUD is set.
  *  controlgroup option changes group ownership of the control socket.
  *  Should use arc4random_uniform when wanting a randon number between 1 and N. Improve the compat arc4random function a little and re-stir on fork.
  *  -4 and -6 are now mutually exclusive and when running on a single interface per protocol pidfiles are created. This means that other control options suchs as -x and -n will require the -4 or -6 option as well.
  *  Implement Stable Private Addresses for SLAAC as per RFC7217. Enable this as default in dhcpcd.conf.
  *  Log error condition if a new or changed Router Advertisment to avoid spamming the log.
  *  Add an IPv6 link-local address before upping the interface if needed. Bring an interface up when we start it and not during discovery. As such, stop waiting on carrier for a second if we did.
  *  Add gateway option to enable the gateway or an interface/profile. Ensure the option and require options disable the nooption option - last wins.
  *  Restarting ntp/yp are not critical and their initialisation continues in the background as well so we may as well background the restart commands for faster dhcpcd performance.
2014-06-14 20:51:03 +00:00
mrg
ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
joerg
a1fef3e08e Initialise all fields. 2014-06-13 13:38:52 +00:00
christos
819e6405b7 merge conflicts 2014-06-13 02:08:06 +00:00
christos
012fd1339d import file-5.19
2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>

	* Misc buffer overruns and missing buffer size tests in cdf parsing
	  (Francisco Alonso, Jan Kaluza)

2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>

	* Enforce limit of 8K on regex searches that have no limits
	* Allow the l modifier for regex to mean line count. Default
	  to byte count. If line count is specified, assume a max
	  of 80 characters per line to limit the byte count.
	* Don't allow conversions to be used for dates, allowing
	  the mask field to be used as an offset.

2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>

	* Make the range operator limit the length of the
	  regex search.

2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>

	* PR/347: Windows fixes
	* PR/352: Hangul word processor recognition
	* PR/354: Encoding irregularities in text files

2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>

	* Fix uninitialized title in CDF files (Jan Kaluza)

2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>

	* PR/351: Fix compilation of empty files

2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>

	* Fix integer formats: We don't specify 'l' or
	  'h' and 'hh' specifiers anymore, only 'll' for
	  quads and nothing for the rest. This is so that
	  magic writing is simpler.

2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>

	* PR/341: Jan Kaluza, fix memory leak
	* PR/342: Jan Kaluza, fix out of bounds read

2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>

	* Fix issue with long formats not matching fmtcheck
2014-06-13 01:48:18 +00:00
joerg
ca8a9c6fc0 Fix build. 2014-06-12 22:15:25 +00:00
christos
10ed35f153 From Darren Reed:
This patch fixes "ipfstat" not displaying group rules and fixes problems
being able to remove individual rules using ipf/ipnat.

#547 rule parsing puts junk at the end of ipf rules
#546 ipfstat -io does not list rules in groups aside from 0

Due to unforeseen circumstances I'm not able to commit this myself.
2014-06-12 17:23:06 +00:00
wiz
5c327eed5f Add missing Nm section which was breaking makemandb indexing of the man page.
From Abhinav Upadhyay.
2014-06-10 11:36:41 +00:00
christos
175b819734 For consistency, handle REQUISITE modules the same way as we handle REQUIRED
and BINDING.
2014-06-03 20:22:54 +00:00
christos
dab998a96b CVE-2014-3879: Incorrect error handling in PAM policy parser:
Missing module files were treated as soft failures leading to
unexpected behavior if policy files were copied between hosts with
differently installed modules or in the short period during upgrades
when module files were being replaced.
2014-06-03 20:21:32 +00:00
joerg
0cfeec7c2c Mark files without llvm-209886 tag as dead. 2014-05-31 22:42:11 +00:00
joerg
7429e1daf1 Mark files without clang-209886 tag as dead. 2014-05-31 22:40:30 +00:00
joerg
b1bb3099bf Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.
2014-05-30 18:28:13 +00:00
joerg
571e46f85f Import Clang 3.5svn r209886. 2014-05-30 18:13:37 +00:00
joerg
4b590142ed Import LLVM 3.5svn r209886. 2014-05-30 18:09:54 +00:00
joerg
366c7b7f38 Import libc++ r209785. Fix a regression with std::bind exposed by recent
Clang improvements.
2014-05-30 11:39:48 +00:00
christos
2ef91ead3c CID 272959: NULL deref 2014-05-28 14:36:41 +00:00
tron
590e1f0cee Update for building OpenLDAP 2.4.39. 2014-05-28 11:32:19 +00:00
tron
4f4766a6be Re-generate after import of OpenLDAP 2.4.39. 2014-05-28 11:09:18 +00:00
tron
4385776513 Apply patch to fix CVE-2013-4449. This shouldn't be necessary as we don't
build the server or its plug-ins. But it is better to be safe in case
this changes.
2014-05-28 10:14:13 +00:00
tron
cb54be06bf Resolve conflicts from last import. 2014-05-28 10:12:43 +00:00
tron
d11b170b90 Import OpenLDAP version 2.4.39. The list of changes since version 2.4.23
is too long to put here (over 650 lines of changelog).
2014-05-28 09:58:17 +00:00
dholland
94efa53a98 PR toolchain/48833: Ilia Zykov: nvi build fails if under /common
When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.
2014-05-23 19:59:17 +00:00
joerg
9b139c3c53 Remove some more CMakeLists.txt files. 2014-05-15 23:59:12 +00:00
joerg
534cb174a5 Import libcxxrt revision 4eb349088dda15d2de9a8c7b144c3f2d5f390269.
Restore support for 32bit architectures without 64bit CAS.
Support DWARF exception handling on ARM.
2014-05-15 23:56:01 +00:00
joerg
e6132fe847 Import libc++ r208870. Improves const use, fixes a few cases of missing
assign-to-self support and increase support for GCC.
2014-05-15 23:53:10 +00:00
christos
21314e18fb When running as root and wanting to write a file and not having CAPNG, don't
drop privs, because we cannot open the file if we drop privs.
2014-05-13 20:29:59 +00:00
christos
02160989ff Don't die if we resize to smaller than Y_LINES. The display could do better,
but it recovers if we grow.
2014-05-13 20:06:41 +00:00
wiz
c07d6dcd59 At least event(3) looks better when passed through tbl(1), so set USETBL. 2014-04-19 08:03:21 +00:00
christos
903821805f lint has __alignof__ too. 2014-04-18 02:28:06 +00:00
christos
2e8a2b3a38 oops missed one instance of fixman 2014-04-11 13:18:35 +00:00
christos
7a4471249a PR/48722: David H. Gutteridge: use HOST_SH to execute fixman 2014-04-10 23:28:11 +00:00
pooka
7489153341 Re-add cloning bpf definition that got lost in rev 1.4.
Needed at least for wpa_supplicant against a rump kernel (which does
not create the old-style bpf0000 device nodes).
2014-04-07 01:29:12 +00:00
kardel
b538a8f986 remove stray 'return 0;' that effectively disabled atouint().
Hi Christos!
2014-04-01 17:34:44 +00:00
joerg
b7b04e0e6d Match #if change in task.c. 2014-03-29 22:44:20 +00:00
christos
2cad6262db add missing #else Takahiro Hayashi 2014-03-29 19:34:23 +00:00
roy
b7fc208426 Crank up the warnings and fortify the build. 2014-03-22 00:04:51 +00:00
christos
7f8a26a5c6 fix Big Endian compilation 2014-03-21 01:17:40 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
christos
a1aa0d7245 Since the sigwait stuff is conditional to isc_bind9, we cannot block
SIGHUP,SIGINT,SIGTERM on startup, so make those also conditional to isc_bind9.
The net effect of this was that dhclient blocked the 3 signals for both
itself and its progeny so /etc/rc.d/dhclient restart would not work.
2014-03-15 18:28:22 +00:00
roy
083b63d1f4 Sync 2014-03-14 11:31:11 +00:00
roy
f19170ec2b Import dhcpcd-6.3.2 with the following changes:
* Improvements to autoconf build emulation
  * CARRIER/NOCARRIER are now run outside of the IPv4 runs
  * validate domains correctly which contain a - on non bash shells
  * don't remove IPv6 addresses from internal state when added as tentative
  * HUP now rebinds, ALRM now releases - the -x and -k flags work as
    they used to
  * Add -M, --master option to force dhcpcd into master mode even if one
    interface is specified on the command line
  * Fix a crash when receiving a reconfigure key
  * Dumping a DHCPv4 lease works again
  * SEND_DAD code removed
  * hoplimit is no longer defined for DHCPv6 messages
  * hoplimit of 255 for IPv6 RS/ND message is now defined at the socket
    instead of ancillary data with the message
2014-03-14 11:27:36 +00:00
christos
e46a69d605 make this compile again 2014-03-14 00:06:52 +00:00