Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (38m)  netbsd-10 (17d)  netbsd-9 (17d)  netbsd-8 (22d) 

2024-06-02 18:23:46 UTC Now

2016-06-05 01:31:03 UTC MAIN commitmail json YAML

2016-06-05 01:23:58 UTC MAIN commitmail json YAML

conditionalize

(christos)

2016-06-05 01:20:58 UTC MAIN commitmail json YAML

2016-06-05 01:17:57 UTC MAIN commitmail json YAML

2016-06-04 18:22:46 UTC MAIN commitmail json YAML

2016-06-04 16:14:29 UTC MAIN commitmail json YAML

PR/50773: Rin Okuyama: Fix single stepping on dynamically linked binaries
by skipping dynamic linker calls (from OpenBSD)

(christos)

2016-06-04 02:06:46 UTC MAIN commitmail json YAML

sanitizer for all.

(christos)

2016-06-04 00:11:01 UTC MAIN commitmail json YAML

2016-06-03 23:57:37 UTC MAIN commitmail json YAML

Add bsd_signal as required by POSIX (from GSoC 2016, Charles Cui)

(christos)

2016-06-03 20:41:05 UTC MAIN commitmail json YAML

2016-06-03 20:39:03 UTC MAIN commitmail json YAML

2016-06-03 15:53:18 UTC MAIN commitmail json YAML

2016-06-03 15:37:16 UTC MAIN commitmail json YAML

2016-06-03 15:36:25 UTC MAIN commitmail json YAML

2016-06-03 15:36:03 UTC MAIN commitmail json YAML

ext4 extents glue

(christos)

2016-06-03 15:35:48 UTC MAIN commitmail json YAML

2016-06-02 21:40:51 UTC MAIN commitmail json YAML

Fix previous to better match readline behavior (Ingo Schwarze)

(christos)

2016-06-02 19:55:52 UTC MAIN commitmail json YAML

2016-06-02 19:54:38 UTC MAIN commitmail json YAML

2016-06-02 15:11:18 UTC MAIN commitmail json YAML

From Ingo Schwarze:

In libedit, the only way how H_ENTER can fail is memory exhaustion,
too, and of course it is handled gracefully, returning -1 from
history().  So of course, we will continue to handle it gracefully
in add_history() as well, but we are free to decide what to do with
the library state in this case because GNU just dies...

I think the most reasonable course of action is to simply not change
the library state in any way when add_history() fails due to memory
exhaustion, but just return.

If H_ENTER does not fail, we know that the history now contains at
least one entry, so there is no need any longer to check the H_GETSIZE
return value.  And we can of course always set current_history_valid.

While testing these changes, i noticed three problems so closely
related that i'd like to fix them in the same diff.

1. libedit has the wrong prototype for add_history().
    GNU readline-6.3 defines it as void add_history(const char *).
    Of course, that is very stupid - no way to report problems to
    the caller!  But the whole point of a compatibility mode is
    being compatible, so we should ultimately change this.
    Of course, changing the prototype of a public symbol requires
    a libedit major bump.  I don't want to do that casually.
    Rather, i will take a note and change the prototype the next
    time we need a libedit major bump for more important reasons.
    For now, let's just always return 0.

2. While *implicitely* pushing an old entry off the history
    increments history_base in GNU readline, testing reveals that
    *explicitly* deleting one does not.  Again, this is not
    documented, but it applies to both remove_history() and
    stifle_history().  So delete history_base manipulation
    from stifle_history(), which also allows to simplify the
    code and delete two automatic variables.

3. GNU readline add_history(NULL) crashes with a segfault.
    There is nothing wrong with having a public interface
    behave that way.  Many standard interfaces do, including
    strlen(3).  Such crashes can even be useful to catch
    buggy application programs.
    In libedit/readline.c rev. 1.104, Christos made add_history()
    silently ignore this coding error, according to the commit
    message to hide a bug in nslookup(1).  That change was never
    merged to OpenBSD.  I strongly disagree with this change.
    If nslookup(1) is still broken, that program needs to be
    fixed instead.  In any case, delete the bogus check; hiding
    bugs is dangerous.

(christos)

2016-06-02 12:28:11 UTC MAIN commitmail json YAML

mention hostzerobroadcast default to "no".

(christos)

2016-06-01 22:58:52 UTC MAIN commitmail json YAML

2016-06-01 22:57:51 UTC MAIN commitmail json YAML

Use NULL instead of 0 (Pedro Giffuni)

(christos)

2016-06-01 22:48:55 UTC MAIN commitmail json YAML

Add ubsan (not enabled, not tested, compiling)
Update tsan (not enable, not tested, not compiling)
Merge common infrastructure.
XXX: Perhaps the common code should be made into a separate library?
Or always require asan?

(christos)

2016-06-01 22:27:49 UTC MAIN commitmail json YAML

Put the sanitizer libraries before everything else, since it needs to be
the first shared object.

(christos)

2016-06-01 17:10:05 UTC MAIN commitmail json YAML

2016-06-01 17:07:13 UTC MAIN commitmail json YAML

Put back asan now it works.

(christos)

2016-06-01 17:03:26 UTC MAIN commitmail json YAML

2016-06-01 17:02:54 UTC MAIN commitmail json YAML

2016-06-01 17:02:19 UTC MAIN commitmail json YAML

Handle wrapping the same way as FreeBSD does.

(christos)

2016-06-01 04:20:20 UTC MAIN commitmail json YAML

2016-06-01 04:07:51 UTC MAIN commitmail json YAML

use the default offsets since gcc hardcodes them (TARGET_ASAN_SHADOW_OFFSET ->
ix86_asan_shadow_offset)

(christos)

2016-06-01 04:06:15 UTC MAIN commitmail json YAML

2016-06-01 01:54:06 UTC MAIN commitmail json YAML

2016-06-01 00:54:20 UTC MAIN commitmail json YAML

2016-06-01 00:53:35 UTC MAIN commitmail json YAML

Ignore the first dlpi entry which is ourselves on NetBSD instead of having
a NULL name as on linux.

(christos)

2016-06-01 00:49:45 UTC MAIN commitmail json YAML

Avoid locking issues when copying out requires taking a fault and we are
finding out our own maps, by allocating a buffer and copying out after
we collected the information.

(christos)

2016-06-01 00:47:16 UTC MAIN commitmail json YAML

Symbolic printing for mmap

(christos)

2016-06-01 00:46:44 UTC MAIN commitmail json YAML

Add more alignments

(christos)

2016-05-31 21:35:11 UTC MAIN commitmail json YAML

2016-05-31 21:34:13 UTC MAIN commitmail json YAML

2016-05-31 20:47:52 UTC MAIN commitmail json YAML

2016-05-31 20:47:26 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/dist/libsanitizer/asan/asan_mapping.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/asan/asan_stack.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_common.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_internal_defs.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_libignore.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_procmaps_common.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_unwind_posix_libcdep.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/ubsan/ubsan_value.h@1.2 / diff / nxr@1.2

First steps to port this to NetBSD (compiles now but missing stuff)

(christos)

2016-05-31 20:40:51 UTC MAIN commitmail json YAML

revert weak change. next time point to an example of what breaks in the
commit message.

(christos)

2016-05-31 20:02:16 UTC MAIN commitmail json YAML

Add an ElfW() macro like linux.

(christos)

2016-05-31 19:25:17 UTC MAIN commitmail json YAML

remove the right history entry (Ingo Schwarze)

(christos)

2016-05-30 22:58:52 UTC MAIN commitmail json YAML

Handle PIC linking for tests

(christos)

2016-05-30 17:49:51 UTC MAIN commitmail json YAML

Make sure that all messages end in '\n' in make_message_rcsvalid() and
compensate for it in add_rcs_file().

(christos)

2016-05-29 16:12:58 UTC MAIN commitmail json YAML

Don't make crunch binaries PIE

(christos)

2016-05-29 16:12:31 UTC MAIN commitmail json YAML

Don't build PIE binaries for install media

(christos)

2016-05-29 02:28:07 UTC MAIN commitmail json YAML

npftest needs to disable mprotect because it uses bpfjit

(christos)

2016-05-28 14:38:29 UTC MAIN commitmail json YAML

Fix mprotect for the helper.

(christos)

2016-05-28 14:34:49 UTC MAIN commitmail json YAML

Skip the mprotect_exec test if PaX MPROTECT restrictions are enabled.

(christos)

2016-05-27 16:44:15 UTC MAIN commitmail json YAML

make hostzerobroadcast default to "no".

(christos)

2016-05-27 16:35:16 UTC MAIN commitmail json YAML

fix compilation without PAX_MPROTECT

(christos)

2016-05-26 16:55:08 UTC MAIN commitmail json YAML

2016-05-26 16:50:01 UTC MAIN commitmail json YAML

2016-05-25 20:07:54 UTC MAIN commitmail json YAML

Give 0,1,2 for security.pax.mprotect.ptrace and make it default to 1
as documented in sysctl(7):
0 - ptrace does not affect mprotect
1 - (default) mprotect is disabled for processes that start executing from
    the debugger (being traced)
2 - mprotect restrictions are relaxed for traced processes

(christos)

2016-05-25 19:52:32 UTC MAIN commitmail json YAML

Document security.pax.mprotect.ptrace

(christos)

2016-05-25 18:35:13 UTC MAIN commitmail json YAML

Apply patch https://github.com/acpica/acpica/commit/\
    c450c13615f7af0673230041da4216b3de5bc4d3.patch

This patch fixes 2 issues in AccessWidth/BitOffset support and adds
comments to justify the BitOffset/BitWidth style macro usages. Lv Zheng.

This patch introduces ACPI_IS_ALIGNED() macro. Lv Zheng.

The old register descriptors are translated in AcpiTbInitGenericAddress()
with AccessWidth being filled with 0. This breaks code in
AcpiHwGetAccessBitWidth() when the registers are 16-bit IO ports and their
BitWidth fields are filled with 16. The rapid fix is meant to make code
written for AcpiHwGetAccessBitWidth() regression safer before the issue is
correctly fixed from AcpiTbInitGenericAddress(). Reported by
John Baldwin <jhb@freebsd.org>, Fixed by Lv Zheng <lv.zheng@intel.com>,
Tested by Jung-uk Kim <jkim@freebsd.org>.

(christos)

2016-05-25 17:43:58 UTC MAIN commitmail json YAML

Introduce security.pax.mprotect.ptrace sysctl which can be used to bypass
mprotect settings so that debuggers can write to the text segment of traced
processes so that they can insert breakpoints. Turned off by default.
Ok: chuq (for now)

(christos)

2016-05-25 17:25:32 UTC MAIN commitmail json YAML

2016-05-25 13:01:11 UTC MAIN commitmail json YAML

abstract read code to a single function (Ingo Schwarze)

(christos)

2016-05-25 00:14:47 UTC MAIN commitmail json YAML

2016-05-25 00:07:20 UTC MAIN commitmail json YAML

2016-05-24 22:28:56 UTC MAIN commitmail json YAML

Export the variables so that they propagate via sets.subr -> make -> mkvars.mk

(christos)

2016-05-24 20:32:33 UTC MAIN commitmail json YAML

Put the name of the dynamic linker in allocated memory, so that it becomes
part of the core file link-map, so that gdb can find it.

(christos)

2016-05-24 19:36:41 UTC MAIN commitmail json YAML

This should be SED not TOOL_SED since this is what is set from the ${SETSENV}
command in the Makefile!

(christos)

2016-05-24 19:31:27 UTC MAIN commitmail json YAML

el_map.alt can't be NULL here (Ingo Schwarze)

(christos)

2016-05-24 17:42:54 UTC MAIN commitmail json YAML

remove debug read (Ingo Schwarze)

(christos)

2016-05-24 15:42:17 UTC MAIN commitmail json YAML

2016-05-24 15:00:45 UTC MAIN commitmail json YAML

From Ingo Schwarze:

Reduce obfuscation of errno handling. There is only one purpose
non-local errno handling is needed for:  Inside el_wgets(), several
functions call down indirectly to el_wgetc(), many of them via the
dispatch table.  When el_wgetc() fails, it does properly report
failure, but then various cleanup is done which may clobber errno.
But when returning due to failure, el_wgets() wants to have errno
set to the reason of the original read failure, not to the reason
of some subsequent failure of some cleanup operation.  So el_wgetc()
needs to save errno, and if it's non-zero, el_wgets() needs to
restore it on failure.

This core logic is currently obscured by the fact that el_errno
is set and inspected at some additional places where it isn't needed.
Besides, since el_wgetc() and and el_wgets() are both in read.c,
el_errno does not need to be in struct editline, it can and should
be local to read.c in struct el_read_t.

Let's look at what can be simplified.

1. keymacro_get() abuses el_errno instead of having a proper
    error return code.  Adding that error return code is easy
    because node_trav() already detects the condition and an
    adequate code is already defined.  Returning it, testing
    for it in read_getcmd(), and returning with error from there
    removes the need to inspect el_errno from el_wgets() after
    calling read_getcmd().
    Note that resetting lastchar and cursor and clearing buffer[0]
    is irrelevant.  The code returns from el_wgets() right afterwards.
    Outside el_wgets(), these variables are no longer relevant.
    When el_wgets() is called the next time, it will call ch_reset()
    anyway, resetting the two pointers.  And as long as lastchar
    points to the beginning of the buffer, the contents of the
    buffer won't be used for anything.

2. read_getcmd() doesn't need to set el_errno again after el_wgetc()
    failure since el_wgetc() already did so.  While here, remove
    the silly "if EOF or error" comments from the el_wgetc()
    return value tests.  It's a public interface documented in a
    manual, so people working on the implementation can obviously
    be expected to know how it works.  It's a case of

      count++;  /* Increment count. */

3. In the two code paths of el_wgets() that lead up to "goto noedit",
    there is no need to save the errno because nothing that might
    change it happens before returning.

For clarity, since el_wgets() is the function restoring the errno,
also move initializing it to the same function.

Finally, note that restoring errno when the saved value is zero is
wrong.  No library code is ever allowed to clear a previously set
value of errno.  Only application programs are allowed to do that,
and even they usually don't need to do so, except when using certain
ill-designed interfaces like strtol(3).

I tested that the behaviour remains sane in the following cases,
all during execution of el_wgets(3) and with a signal handler
for USR1 installed without SA_RESTART.

* Enter some text and maybe move around a bit.
  Then send a USR1 signal.
  The signal gets processed, then read_char() resumes reading.
  Send another USR1 signal.
  Now el_wgets() sets errno=EINTR and returns -1.

* Press Ctrl-V to activate ed-quoted-insert.
  Then send a USR1 signal.
  The signal gets processed, then read_char() resumes reading.
  Send another USR1 signal.
  ed_quoted_insert() returns ed_end_of_file(), i.e. CC_EOF,
  and el_wgets() returns 0.

* Press a key starting a keyboard macro.
  Then send a USR1 signal.
  The signal gets processed, then read_char() resumes reading.
  Send another USR1 signal.
  Now el_wgets() sets errno=EINTR and returns -1.

* Press : to enter builtin command mode.
  Start typing a command.
  Then send a USR1 signal.
  The signal gets processed, then read_char() resumes reading.
  Send another USR1 signal.
  Now c_gets() returns -1, ed_command() beeps and returns CC_REFRESH,
  and el_wgets() resumes operation as it should.

I also tested with "el_set(el, EL_EDITMODE, 0)", and it returns
the right value and sets errno correctly.

(christos)

2016-05-24 00:50:54 UTC MAIN commitmail json YAML

2016-05-24 00:49:56 UTC MAIN commitmail json YAML

Add a note for the auxv array so we can find our load location from a
core file of a PIE binary.

(christos)

2016-05-22 23:54:20 UTC MAIN commitmail json YAML

documentation improvements (Ingo Schwarze)

(christos)

2016-05-22 19:44:26 UTC MAIN commitmail json YAML

Stop the read module from poking the el_chared.c_macro data structure
currently belonging to the chared module.  The read module does so
from three of its functions, while no other module uses the macro
data, not even the chared module itself.  That's quite logical
because macros are a feature of input handling, all of which is
done by the read module, and none by the chared module.  So move
the data into the read modules's own opaque data structure, struct
el_read_t.

That simplifies internal interfaces in several respects: The
semi-public chared.h has one fewer struct, one fewer #define, and
one fewer member in struct el_chared_t; all three move to one single
C file, read.c, and are now module-local.  And the internal interface
function ch_reset() needs one fewer argument, making the code of many
functions in various modules more readable.

The price is one additional internal interface function, read_end(),
10 lines long including comments, called publicly from exactly one
place: el_end() in el.c.  That's hardly an increase in complexity
since most other modules already have their *_end() function, read.c
was the odd one out not having one.

From Ingo Schwarze

(christos)

2016-05-22 14:26:10 UTC MAIN commitmail json YAML

2016-05-22 01:09:09 UTC MAIN commitmail json YAML

Account for the VA hole differently (simpler)

(christos)

2016-05-21 21:07:43 UTC MAIN commitmail json YAML

Mention MPROTECT issues

(christos)

2016-05-21 20:54:34 UTC MAIN commitmail json YAML

put back _PATH_WHATIS, it is used.

(christos)

2016-05-21 19:56:52 UTC MAIN commitmail json YAML

switch evbarm to gdb-7.10.1

(christos)

2016-05-21 18:34:53 UTC MAIN commitmail json YAML

Switch evbarm to gcc-5.3 and turn on PIE.

(christos)

2016-05-21 18:31:13 UTC MAIN commitmail json YAML

Add various security options; enables PaX ASLR/MPROTECT

(christos)

2016-05-21 17:06:45 UTC MAIN commitmail json YAML

Fix the prototype used by EL_GETCFN, mention the associated typedef
name, document the return values, expand the list of affected
functions, warn against using EL_GETCFN, and clarify some wording
and notation. (Ingo Schwarze)

(christos)

2016-05-21 16:23:10 UTC MAIN commitmail json YAML

2016-05-20 16:40:40 UTC MAIN commitmail json YAML

gcc can't compute the large initializer in rpi_release_mem,
so disable stack protector.

(christos)

2016-05-20 01:37:47 UTC MAIN commitmail json YAML

Turn on PaX ASLR/MPROTECT

(christos)

2016-05-20 01:36:16 UTC MAIN commitmail json YAML

i386 is PIE now since I am turning PaX ASLR/MPROTECT on.

(christos)

2016-05-19 21:39:15 UTC MAIN commitmail json YAML

2016-05-19 20:27:36 UTC MAIN commitmail json YAML

Fix infinite recursion when building i386 -fPIE in
src/external/mit/xorg/lib/libxcb/xkb.

https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=231599

PR debug/67355
* var-tracking.c (reverse_op): Don't add dummy zero to reverse
  ops that simplify back to the original value.
* alias.c (refs_newer_value_p): Cut off recursion for
  expressions containing the original value.

(christos)

2016-05-19 15:41:18 UTC MAIN commitmail json YAML

2016-05-19 15:38:13 UTC MAIN commitmail json YAML

Turn on PIE for sparc64 so we can use ASLR effectively.

(christos)

2016-05-19 15:37:06 UTC MAIN commitmail json YAML

2016-05-19 15:36:35 UTC MAIN commitmail json YAML

lose one more bit of ALSR to account for rounding in the VA hole.

(christos)

2016-05-18 15:27:17 UTC MAIN commitmail json YAML

Add my list of things to do for 8. To be expanded.

(christos)

2016-05-17 21:03:36 UTC MAIN commitmail json YAML

mention my last coda work

(christos)

2016-05-17 20:53:53 UTC MAIN commitmail json YAML

reflect reality (through my ping glasses)

(christos)

2016-05-17 14:00:09 UTC MAIN commitmail json YAML

2016-05-17 00:39:43 UTC MAIN commitmail json YAML

Clamt the PAX_ASLR random value to the max bits we have for VA.

(christos)

2016-05-17 00:38:50 UTC MAIN commitmail json YAML

Hook to clamp the random value for mmap for machies that don't have enough
VA bits.

(christos)

2016-05-16 22:20:10 UTC MAIN commitmail json YAML

2016-05-16 22:19:41 UTC MAIN commitmail json YAML

Adjust to new freetype structure.

(christos)

2016-05-16 22:19:10 UTC MAIN commitmail json YAML

2016-05-16 22:18:39 UTC MAIN commitmail json YAML

xsrc/external/mit/freetype/dist/builds/unix/freetype-config.in@1.8 / diff / nxr@1.8
xsrc/external/mit/freetype/dist/builds/unix/mkinstalldirs deleted
xsrc/external/mit/freetype/dist/include/config/ftconfig.h deleted
xsrc/external/mit/freetype/dist/include/config/ftheader.h deleted
xsrc/external/mit/freetype/dist/include/config/ftmodule.h deleted
xsrc/external/mit/freetype/dist/include/config/ftoption.h deleted
xsrc/external/mit/freetype/dist/include/config/ftstdlib.h deleted
xsrc/external/mit/freetype/dist/include/freetype.h deleted
xsrc/external/mit/freetype/dist/include/freetype/config/ftconfig.h@1.7 / diff / nxr@1.7
xsrc/external/mit/freetype/dist/include/freetype/config/ftheader.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/config/ftmodule.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/config/ftoption.h@1.6 / diff / nxr@1.6
xsrc/external/mit/freetype/dist/include/freetype/config/ftstdlib.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/freetype.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/ftadvanc.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/ftautoh.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/ftbbox.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/ftbdf.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/ftbitmap.h@1.3 / diff / nxr@1.3
xsrc/external/mit/freetype/dist/include/freetype/ftbzip2.h@1.3 / diff / nxr@1.3
      :
(more 160 files)
resolve conflicts; move include files back where the distribution has them.

(christos)

2016-05-15 20:37:48 UTC MAIN commitmail json YAML

remove stray debugging.

(christos)

2016-05-15 20:36:42 UTC MAIN commitmail json YAML

Bail out if the string does not look like a timezone (is empty or does not
start with a letter or a number). tzparse("") or tzparse(".45") don't fail.

(christos)

2016-05-14 17:11:30 UTC MAIN commitmail json YAML

2016-05-14 17:04:10 UTC MAIN commitmail json YAML

only print debugging info if we are actually going to change the permission.

(christos)

2016-05-13 17:33:43 UTC MAIN commitmail json YAML

- make pax aslr stack eat up to 1/8 of the max stack space insted of 1/4
  and reduce the length of the randomization bits since this is unused.
- call the pax aslr stack function sooner so we don't need to re-adjust the
  stack size.
- adjust the stack max resource limit to account for the maximum space that
  can be lost by aslr
- tidy up debugging printfs

(christos)

2016-05-13 16:54:36 UTC MAIN commitmail json YAML

clamp getrlimit the same way we clamp setrlimit

(christos)

2016-05-13 15:55:59 UTC MAIN commitmail json YAML

From Bastian Maerkisch, via Igno Schwarze:

Even though section "2.3.3 Information About the History List"
of the history(3) info(1) manual only says

  -- Function: int where_history (void)
    Returns the offset of the current history element.

which maybe isn't completely clear, a plausible implementation
is that the offset returned is the same offset that can be used
for history_set_pos(), i.e. that it is 0 for the oldest entry
and increases with time, and that's how the GNU implementation
behaves indeed.

The libedit implementation, on the other hand, returns 1 for the
newest entry and increases going back in time.

(christos)

2016-05-13 15:25:57 UTC MAIN commitmail json YAML

2016-05-13 13:40:56 UTC MAIN commitmail json YAML

From scole_mail:
So here is a patch to get basic ski console output working.  The ski
simulator was decoding the wrong registers in ssccnputc() due to
automagically inlined ssc() which contains a "break" simulated system
call.

The ski loader "skiload" has almost exactly the same inline assembly
call for ssc(), but for whatever reason, (maybe ssc() and
ski_cons_putchar() are in different files?), the ssc() function didn't
get inlined and I/O worked fine.

(christos)

2016-05-12 14:50:39 UTC MAIN commitmail json YAML

Avoid taking locks during interrupts and explain why we are doing it this way.

(christos)

2016-05-09 21:46:56 UTC MAIN commitmail json YAML

2016-05-09 21:38:27 UTC MAIN commitmail json YAML

Instead of compiling all the source files together in one big file, use
protected visibility to achieve the same effect.

(christos)

2016-05-09 21:37:34 UTC MAIN commitmail json YAML

Elide gcc warning about intermediate const casts caused by visibility change.

(christos)

2016-05-09 21:27:55 UTC MAIN commitmail json YAML

GNU readline(3) regards history chronologically, that is, from the
perspective of the dawn of time, so "next" means "newer" and "previous"
means "older".  Libedit, by contrast, uses reverse chronology and
regards history from the perspective of the present, such that "next"
means "longer ago" and "previous" means "not so long ago".

The following patch fixes previous_history() and next_history()
as proposed by Bastian Maerkisch.

But there is a related problem demonstrated by Bastian's regression
tests that his patch did not fix:  next_history() can advance not
only to the newest entry, but beyond it, which core libedit cannot
do.  So that feature must be implemented locally in readline.c.

With that, the last of Bastians tests is fixed, test_movement_direction().

This patch also improves libedit documentation to more clearly state
what "previous" and "next" mean.  GNU readline documentation is
just as unclear, but we can't easily fix that since libedit doesn't
include its own readline.3 manual.

(Ingo Schwarze)

(christos)

2016-05-09 21:25:11 UTC MAIN commitmail json YAML

The libedit implementation of history_get() also differs from the GNU
implementation:  libedit goes to the entry with the given number
stored in the HistEvent structure, while GNU subtracts history_base,
then advances that many entries from the oldest one.  If entries were
removed in between, GNU advances further than libedit.

The call sequence H_CURR, H_DELDATA, H_CURR, H_NEXT_EVDATA looks
weird, as if part of that must somehow be redundant.  But actually,
the user interface is so counter-intuitive that every single step
is really required.

- The first H_CURR is needed to be able to go back after an error.
- The H_DELDATA is needed to move the cursor.  Even though it takes
  a pointer to ev, that structure is not filled in when the call
  succeeds.  H_DELDATA only moves the cursor, it doesn't tell us
  the new event number.
- Consequently, the second H_CURR is required to get ev.num filled
  in.  But it doesn't return the data because ev has no field for
  that.
- So even though the cursor is already positioned correctly,
  H_NEXT_EVDATA is needed as the final step merely to get the data.

(Ingo Schwarze)

(christos)

2016-05-09 15:11:35 UTC MAIN commitmail json YAML

Account for the CRC len (Jean-Jacques.Puig)

(christos)

2016-05-09 15:05:15 UTC MAIN commitmail json YAML

Don't increment the reference count only when it was 0...
From Jean-Jacques.Puig

(christos)

2016-05-08 20:15:00 UTC MAIN commitmail json YAML

In stiffle_history(), trim excessive entries from the history and advance
history_base like the GNU implementation does. (from Bastian Maerkisch)

(christos)

2016-05-08 20:01:56 UTC MAIN commitmail json YAML

Fix stack allocation; limit delta to a quarter of the stack size. This should
get rid of the random aborts.

(christos)

2016-05-08 20:00:21 UTC MAIN commitmail json YAML

Enable DEBUG_EXEC, if we have DEBUG (since it only fires on errors) and
disable the super verbose printing by protecting it against TRACE_EXEC.

(christos)

2016-05-08 03:11:34 UTC MAIN commitmail json YAML

Catch up with other networking changes (John D. Baker)

(christos)

2016-05-08 01:28:09 UTC MAIN commitmail json YAML

Move all the randomization inside kern_pax.c so we can control it directly.
Add debugging flags to be able to set the random number externally.

(christos)

2016-05-06 21:01:19 UTC MAIN commitmail json YAML

fix logic (Ingo Schwarze)

(christos)

2016-05-06 20:12:54 UTC MAIN commitmail json YAML

- don't require the lock if we are polling (early autoconf)
- unfold a line

(christos)

2016-05-06 18:07:17 UTC MAIN commitmail json YAML

2016-05-04 22:42:40 UTC MAIN commitmail json YAML

mention libmalloc hack

(christos)

2016-05-04 19:28:32 UTC MAIN commitmail json YAML

2016-05-04 19:28:15 UTC MAIN commitmail json YAML

2016-05-04 19:27:58 UTC MAIN commitmail json YAML

src/sys/external/bsd/acpica/conf/files.acpica@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/common/dmtbdump.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/acpica/dist/common/dmtbinfo.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/aslanalyze.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/aslload.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/compiler/asllookup.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/aslopcodes.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/compiler/aslpredef.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/compiler/aslprepkg.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/asltree.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/aslutils.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/compiler/aslxref.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/dtparser.y@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/prparser.y@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/debugger/dbcmds.c@1.10 / diff / nxr@1.10
      :
(more 44 files)
merge new acpica

(christos)

2016-05-04 17:17:00 UTC MAIN commitmail json YAML

limit to gcc, requested by joerg.

(christos)

2016-05-04 15:42:32 UTC MAIN commitmail json YAML

fix compilation for ppc.

(christos)

2016-05-04 15:41:37 UTC MAIN commitmail json YAML

2016-05-04 14:39:49 UTC MAIN commitmail json YAML

prevent gcc from combining memset+malloc -> calloc inside calloc so that
we end up calling ourselves recursively.

(christos)

2016-05-03 18:22:28 UTC MAIN commitmail json YAML

http://w1.fi/security/2016-1/0004-Reject-SET_CRED-commands-with-newline-characters-in-.patch
Many of the global configuration parameters are written as strings
without filtering and if there is an embedded newline character in the
value, unexpected configuration file data might be written.

This fixes an issue where wpa_supplicant could have updated the
configuration file global parameter with arbitrary data from the control
interface or D-Bus interface. While those interfaces are supposed to be
accessible only for trusted users/applications, it may be possible that
an untrusted user has access to a management software component that
does not validate the value of a parameter before passing it to
wpa_supplicant.

This could allow such an untrusted user to inject almost arbitrary data
into the configuration file. Such configuration file could result in
wpa_supplicant trying to load a library (e.g., opensc_engine_path,
pkcs11_engine_path, pkcs11_module_path, load_dynamic_eap) from user
controlled location when starting again. This would allow code from that
library to be executed under the wpa_supplicant process privileges.

(christos)

2016-05-03 18:21:54 UTC MAIN commitmail json YAML

http://w1.fi/security/2016-1/0004-Reject-SET_CRED-commands-with-newline-characters-in-.patch
Most of the cred block parameters are written as strings without
filtering and if there is an embedded newline character in the value,
unexpected configuration file data might be written.

This fixes an issue where wpa_supplicant could have updated the
configuration file cred parameter with arbitrary data from the control
interface or D-Bus interface. While those interfaces are supposed to be
accessible only for trusted users/applications, it may be possible that
an untrusted user has access to a management software component that
does not validate the credential value before passing it to
wpa_supplicant.

This could allow such an untrusted user to inject almost arbitrary data
into the configuration file. Such configuration file could result in
wpa_supplicant trying to load a library (e.g., opensc_engine_path,
pkcs11_engine_path, pkcs11_module_path, load_dynamic_eap) from user
controlled location when starting again. This would allow code from that
library to be executed under the wpa_supplicant process privileges.

(christos)

2016-05-03 18:21:15 UTC MAIN commitmail json YAML

http://w1.fi/security/2016-1/0003-Remove-newlines-from-wpa_supplicant-config-network-o.patch
Spurious newlines output while writing the config file can corrupt the
wpa_supplicant configuration. Avoid writing these for the network block
parameters. This is a generic filter that cover cases that may not have
been explicitly addressed with a more specific commit to avoid control
characters in the psk parameter.

(christos)

2016-05-03 18:20:30 UTC MAIN commitmail json YAML

http://w1.fi/security/2016-1/0002-Reject-psk-parameter-set-with-invalid-passphrase-cha.patch
WPA/WPA2-Personal passphrase is not allowed to include control
characters. Reject a passphrase configuration attempt if that passphrase
includes an invalid passphrase.

This fixes an issue where wpa_supplicant could have updated the
configuration file psk parameter with arbitrary data from the control
interface or D-Bus interface. While those interfaces are supposed to be
accessible only for trusted users/applications, it may be possible that
an untrusted user has access to a management software component that
does not validate the passphrase value before passing it to
wpa_supplicant.

This could allow such an untrusted user to inject up to 63 characters of
almost arbitrary data into the configuration file. Such configuration
file could result in wpa_supplicant trying to load a library (e.g.,
opensc_engine_path, pkcs11_engine_path, pkcs11_module_path,
load_dynamic_eap) from user controlled location when starting again.
This would allow code from that library to be executed under the
wpa_supplicant process privileges.

(christos)

2016-05-03 18:19:44 UTC MAIN commitmail json YAML

http://w1.fi/security/2016-1/0001-WPS-Reject-a-Credential-with-invalid-passphrase.patch
WPA/WPA2-Personal passphrase is not allowed to include control
characters. Reject a Credential received from a WPS Registrar both as
STA (Credential) and AP (AP Settings) if the credential is for WPAPSK or
WPA2PSK authentication type and includes an invalid passphrase.

This fixes an issue where hostapd or wpa_supplicant could have updated
the configuration file PSK/passphrase parameter with arbitrary data from
an external device (Registrar) that may not be fully trusted. Should
such data include a newline character, the resulting configuration file
could become invalid and fail to be parsed.

(christos)

2016-05-03 17:23:18 UTC MAIN commitmail json YAML

2016-05-03 17:21:32 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssl/dist/CHANGES@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/Makefile@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/NEWS@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/README@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/crypto/asn1/a_d2i_fp.c@1.4 / diff / nxr@1.4
src/crypto/external/bsd/openssl/dist/crypto/asn1/a_type.c@1.4 / diff / nxr@1.4
src/crypto/external/bsd/openssl/dist/crypto/asn1/tasn_dec.c@1.5 / diff / nxr@1.5
src/crypto/external/bsd/openssl/dist/crypto/asn1/tasn_enc.c@1.5 / diff / nxr@1.5
src/crypto/external/bsd/openssl/dist/crypto/evp/Makefile@1.6 / diff / nxr@1.6
src/crypto/external/bsd/openssl/dist/crypto/evp/evp_enc.c@1.5 / diff / nxr@1.5
src/crypto/external/bsd/openssl/dist/crypto/opensslv.h@1.20 / diff / nxr@1.20
src/crypto/external/bsd/openssl/dist/openssl.spec@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/ssl/d1_both.c@1.8 / diff / nxr@1.8
src/crypto/external/bsd/openssl/dist/ssl/s2_lib.c@1.6 / diff / nxr@1.6
src/crypto/external/bsd/openssl/dist/ssl/s3_clnt.c@1.18 / diff / nxr@1.18
src/crypto/external/bsd/openssl/dist/ssl/s3_lib.c@1.18 / diff / nxr@1.18
src/crypto/external/bsd/openssl/dist/ssl/ssl.h@1.15 / diff / nxr@1.15
src/crypto/external/bsd/openssl/dist/ssl/ssl_ciph.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/ssl/ssl_locl.h@1.13 / diff / nxr@1.13
src/crypto/external/bsd/openssl/dist/ssl/t1_lib.c@1.21 / diff / nxr@1.21
      :
(more 3 files)
merge conflicts

(christos)

2016-05-03 17:21:02 UTC MAIN commitmail json YAML

add missing forward declaration for the STATIC= case.

(christos)

2016-05-03 00:19:32 UTC MAIN commitmail json YAML

2016-05-02 23:22:39 UTC MAIN commitmail json YAML

search for the proper variable in the sysroot case.

(christos)

2016-05-02 19:18:29 UTC MAIN commitmail json YAML

2016-05-02 17:37:23 UTC MAIN commitmail json YAML

Make it look more like rt2560.c

(christos)

2016-05-02 16:48:34 UTC MAIN commitmail json YAML

2016-05-02 16:35:18 UTC MAIN commitmail json YAML

fix typos from Pedro Giffuni @FreeBSD

(christos)

2016-05-02 13:01:34 UTC MAIN commitmail json YAML

Add more MLINKS, sort

(christos)

2016-05-02 12:59:30 UTC MAIN commitmail json YAML

Add wide versions of histedit functions
Remove dups

(christos)

2016-05-02 12:43:35 UTC MAIN commitmail json YAML

Add more explicit xrefs

(christos)

2016-05-02 01:47:14 UTC MAIN commitmail json YAML

More redirect tests, in particular, tests for redirects to/from
file descriptors outside the 0..9 range, and complex fd
reassignments.  Also test that the shell can cope with the
value of ulimit -n changing (downwards, up is harmless)
(Freom kre@)

(christos)

2016-05-02 01:46:31 UTC MAIN commitmail json YAML

Fix handing of user file descriptors outside the 0..9 range.
Also, move (most of) the shell's internal use fd's to much
higher values (depending upon what ulimit -n allows) so they
are less likely to clash with user supplied fd numbers.  A future
patch will (hopefully) avoid this problem completely by dynamically
moving the shell's internal fds around as needed. (From kre@)

(christos)

2016-05-01 23:32:02 UTC MAIN commitmail json YAML

2016-05-01 23:23:22 UTC MAIN commitmail json YAML

2016-04-29 18:29:17 UTC MAIN commitmail json YAML

use "" so ${TEST_SH} is expanded.

(christos)

2016-04-29 16:08:09 UTC MAIN commitmail json YAML

Provide the correct system Makefile path to the tools make. This is needed
because although the arch-specific make wrapper sets $MAKEFLAGS to include
the proper system Makefile path, configure clears $MAKEFLAGS before it invokes
$MAKE to figure out which dependency style to use. This made the build fail
during the gcc build.

(christos)

2016-04-29 13:17:09 UTC MAIN commitmail json YAML

move section around.

(christos)

2016-04-29 03:05:05 UTC MAIN commitmail json YAML

use variables that could be unused.

(christos)

2016-04-29 02:38:19 UTC MAIN commitmail json YAML

2016-04-29 02:27:06 UTC MAIN commitmail json YAML

remove in %s\n", __func__ debugging

(christos)

2016-04-29 02:17:25 UTC MAIN commitmail json YAML

2016-04-29 02:16:53 UTC MAIN commitmail json YAML

Split ufs_direnter futher and turn off tree-vrp for the broken function.

(christos)

2016-04-29 01:14:23 UTC MAIN commitmail json YAML

For struct ifnet if_transmit.

(christos)

2016-04-28 16:07:27 UTC MAIN commitmail json YAML

- merge the options descriptions, sort them.
- fix wrusage name.

(christos)

2016-04-28 15:55:15 UTC MAIN commitmail json YAML

new editline.7 man page.

(christos)

2016-04-28 15:50:34 UTC MAIN commitmail json YAML

2016-04-28 12:27:45 UTC MAIN commitmail json YAML

Initialize patbuf (Ingo Schwarze)

(christos)

2016-04-28 12:24:51 UTC MAIN commitmail json YAML

Pass the proper device_t to the attach hook.

(christos)

2016-04-28 11:45:02 UTC MAIN commitmail json YAML

2016-04-28 11:38:41 UTC MAIN commitmail json YAML

2016-04-28 00:37:40 UTC MAIN commitmail json YAML

2016-04-28 00:35:24 UTC MAIN commitmail json YAML

2016-04-28 00:33:54 UTC MAIN commitmail json YAML

2016-04-28 00:02:40 UTC MAIN commitmail json YAML

2016-04-27 21:15:40 UTC MAIN commitmail json YAML

We need a flag for WCONTINUED so that we can reset it... Fixes bash issue.

(christos)

2016-04-27 21:14:24 UTC MAIN commitmail json YAML

- Adjust to the correct wait6 semantics (returns pid)
- Avoid race in setrlimit(2)

(christos)

2016-04-27 20:17:00 UTC MAIN commitmail json YAML

Add 80211n ht frame.

(christos)

2016-04-27 19:52:14 UTC MAIN commitmail json YAML

2016-04-27 19:50:34 UTC MAIN commitmail json YAML

2016-04-27 19:50:06 UTC MAIN commitmail json YAML

2016-04-27 19:49:26 UTC MAIN commitmail json YAML

Make RT 2860 for the if_ral_pci.c driver compile.
This work was done by Jeff Rizzo

(christos)

2016-04-27 19:48:11 UTC MAIN commitmail json YAML

2016-04-27 19:47:40 UTC MAIN commitmail json YAML

more ral devices from OpenBSD

(christos)

2016-04-27 19:47:25 UTC MAIN commitmail json YAML

Sync with OpenBSD (add rt2860). Handle 32/64 memory bars,
some power management, more device matches.

(christos)

2016-04-27 19:46:11 UTC MAIN commitmail json YAML

Add rt2860 now that it compiles.

(christos)

2016-04-27 02:47:39 UTC MAIN commitmail json YAML

2016-04-27 02:24:06 UTC MAIN commitmail json YAML

Extend the "a" partition hack to also mean the first partition on the raid,
for non-disklabel based raidframe disks that need root.

(christos)

2016-04-27 02:19:12 UTC MAIN commitmail json YAML

2016-04-26 21:17:20 UTC MAIN commitmail json YAML

2016-04-25 16:35:47 UTC MAIN commitmail json YAML

set the return value to the pid if we found one (from kre@)

(christos)

2016-04-24 18:27:03 UTC MAIN commitmail json YAML

CID 1358680: Set umask before mkstemp

(christos)

2016-04-24 18:24:47 UTC MAIN commitmail json YAML

CID 1358679: Fix memory leak.
XXX: pullup 7

(christos)

2016-04-24 18:22:49 UTC MAIN commitmail json YAML

CID 1358678: Don't pass -1 to fdopen(3)

(christos)

2016-04-24 18:20:40 UTC MAIN commitmail json YAML

CID 1358677: (Negative returns) tuck in poll_fd assignment in eloop_open()

(christos)

2016-04-24 18:16:05 UTC MAIN commitmail json YAML

2016-04-24 18:11:43 UTC MAIN commitmail json YAML

CID 1358675: Wrong variable test

(christos)