Commit Graph

231293 Commits

Author SHA1 Message Date
christos 3b477d26c4 * Fixed a potential security issue in parsing option files (CVE-2014-3158).
* There is a new "stop-bits" option, which takes an argument of 1 or 2,
  indicating the number of stop bits to use for async serial ports.
* Various bug fixes.
2014-10-25 18:47:46 +00:00
christos dfce2db246 import new pppd:
* Fixed a potential security issue in parsing option files (CVE-2014-3158).
* There is a new "stop-bits" option, which takes an argument of 1 or 2,
  indicating the number of stop bits to use for async serial ports.
* Various bug fixes.
2014-10-25 18:43:24 +00:00
joerg 35bf2ce596 Fix grammar 2014-10-25 18:15:18 +00:00
joerg a1f0cbda36 Fix typo. Use format string. 2014-10-25 18:00:25 +00:00
mlelstv ab9ddb6964 Support wedge names.
before:
    newfs dk1        - formats /dev/rdk1
    newfs rdk1       - cannot open /dev/rrdk1
    newfs /dev/dk1   - /dev/dk1 is a block-device, use raw device
    newfs /dev/rdk1  - formats /dev/rdk1

now:
    newfs dk1        - formats /dev/rdk1
    newfs rdk1       - cannot open /dev/rrdk1
    newfs /dev/dk1   - formats /dev/rdk1 (*)
    newfs /dev/rdk1  - formats /dev/rdk1
    newfs NAME=wedge - formats /dev/rdk1

(*) getfsspecname() returns the block device which must be translated.
    Passing a block device manually cannot be distinguished from this case.
2014-10-25 16:47:23 +00:00
christos 828d274251 Avoid stack overflow when SACK and TCP_SIGNATURE are both present. Thanks
to Jonathan Looney for pointing this out.
2014-10-25 15:07:13 +00:00
joerg 0671ede1e6 Consistently tag libasan with gcc=48 2014-10-25 15:02:12 +00:00
christos 28365665a4 Try to future-proof this. Can libasan be built by clang? 2014-10-25 12:54:28 +00:00
skrll 1ab111ba79 G/C some unused code. 2014-10-25 11:35:15 +00:00
skrll 01e4054922 Remove katelib.h and references to it.
{Read,Write}{Word,Byte} macros are provided in the files that still use
them. Someone(tm) should convert them to bus_space(9)
2014-10-25 10:58:12 +00:00
joerg bc885fd55c When building with clang, make warnings about NULL checks of parameters
with attribute nonnull non-fatal.
2014-10-25 00:57:59 +00:00
joerg 3d415a7996 HAVE_GCC might not be defined at all... 2014-10-24 22:42:40 +00:00
joerg 145c684320 Don't overwrite the real unwind.h if it is present. 2014-10-24 22:42:16 +00:00
riz 6634feeb6f Back out previous until it can be fixed - it was causing all
sets to contain all files, which made a full build of all arches
over 150GB!

My awk isn't good enough to fix this myself in the time available.
2014-10-24 22:19:44 +00:00
christos f9128b659c PR/49287: David Holland: Skip the right number of bytes to go over the first
argument in the argv vector. Fixes netbsd32 script execution, where you lost
the first argument because it skipped 8 bytes instead of 4.
2014-10-24 21:13:30 +00:00
christos 1a3570e51c remove unused prototypes 2014-10-24 21:08:36 +00:00
christos 83b8cb7442 sync with the regular method; no functional diff 2014-10-24 21:07:55 +00:00
christos 31c0f9dea1 new openpam. 2014-10-24 18:29:20 +00:00
christos 71012c8f3e pam library has moved and new files 2014-10-24 18:27:41 +00:00
christos 167c74f464 resolve conflicts 2014-10-24 18:27:12 +00:00
christos d1d9b6fefe fix conflicts 2014-10-24 18:25:14 +00:00
christos af3e43cb2b import generated man pages 2014-10-24 18:21:02 +00:00
christos 201780c4cf merge conflicts 2014-10-24 18:17:55 +00:00
christos 76e8c54297 OpenPAM Ourouparia 2014-09-12
- ENHANCE: When executing a chain, require at least one service
   function to succeed.  This mitigates fail-open scenarios caused by
   misconfigurations or missing modules.

 - ENHANCE: Make sure to overwrite buffers which may have contained an
   authentication token when they're no longer needed.

 - BUGFIX: Under certain circumstances, specifying a non-existent
   module (or misspelling the name of a module) in a policy could
   result in a fail-open scenario.  (CVE-2014-3879)

 - FEATURE: Add a search path for modules.  This was implemented in
   Nummularia but inadvertently left out of the release notes.

 - BUGFIX: The is_upper() predicate only accepted the letter A as an
   upper-case character instead of the entire A-Z range.  As a result,
   service and module names containing upper-case letters other than A
   would be rejected.
2014-10-24 18:15:36 +00:00
msaitoh 2e26c34f2a Simplify. No functional change. 2014-10-24 17:58:09 +00:00
msaitoh ef64d03c09 Fix a bug that the offset of alt MAC address is wrongly calculated to 0
when alt MAC address function is really used. This bug does not appear
as real bug if the same MAC address is written in the default location
and alt MAC address's location.
2014-10-24 17:50:50 +00:00
nakayama 497c8d6aaa Fix typo in comment. 2014-10-24 15:51:16 +00:00
njoly 3ab1cc3d9a One semicolon is enough. 2014-10-24 13:18:51 +00:00
jmcneill b9d6d960e5 A20 is a Cortex-A7, so set CPUFLAGS to match; disbale ALLWINNER_A10 and CPU_CORTEXA8 options 2014-10-24 10:59:45 +00:00
jmcneill 6f4a8dd760 A20 is a Cortex-A7, so set CPUFLAGS to match 2014-10-24 10:59:24 +00:00
jmcneill 5db91bfe88 disable axp20x for now, it seems after a while we get "send STOP failed" from i2c bus and then things go from bad to worse 2014-10-24 10:48:05 +00:00
skrll 0bc18697c5 Remove unnecessary #include 2014-10-24 07:08:26 +00:00
skrll f42052eaf6 BPI is CORTEX A7 and Allwinner A20 2014-10-24 07:00:49 +00:00
christos 0c3960a65b gcc=48 has asan. 2014-10-24 02:39:34 +00:00
dennis 7a9009c7b5 Fix a typo: the PC is likely in _REG_PC 2014-10-24 01:08:07 +00:00
christos fed776c55d one more search path. 2014-10-23 23:31:26 +00:00
christos 0a409b4552 remove stray endif 2014-10-23 21:19:53 +00:00
christos 9e91d16823 simplify and eliminate TOCTOU. 2014-10-23 21:03:25 +00:00
christos 621f4f2bec fix (add missing, remove dups, sort) 2014-10-23 20:08:27 +00:00
christos 3c0fd211c8 instead of bitching about the missing endianness, get it. 2014-10-23 19:39:42 +00:00
christos 6eb7640629 make alpha compile 2014-10-23 19:03:38 +00:00
christos 37f7124d43 mention tzcode 2014-10-23 18:46:49 +00:00
christos 67431d7357 merge 2014i 2014-10-23 18:45:58 +00:00
christos 035b9a6c6d prefer our own unwind.h 2014-10-23 17:51:22 +00:00
christos 3ce54f1012 use the appropriate unwind.h header 2014-10-23 17:50:24 +00:00
christos a62fb610ef stop playing type games, and use the proper type for the placement new operator 2014-10-23 17:50:08 +00:00
martin 91eb09ff7d Only visit libasan if ${HAVE_GCC} == "48" 2014-10-23 15:29:06 +00:00
apb 169f79fc13 Add vis() function, and canonicalise file names via vis(unvis($1)).
XXX: The vis() function is very limited, due to the absence of ord()
in NetBSD's awk.
2014-10-23 14:19:33 +00:00
msaitoh d2097cff68 Add some HyperTransport related defines. It's required for the MSI. 2014-10-23 13:45:41 +00:00
msaitoh 75d11a50a3 - Cleanup pci_conf_print_caplist. Use table. The reason why it loops twice
is that some capabilities appear multiple times (e.g. HyperTransport cap).
- Print the specification revision of Power Management and AGP not in
  the capability list part but in the detail part.
2014-10-23 13:44:37 +00:00