Page MenuHomeFreeBSD
Feed Advanced Search

Jul 26 2015

pfg added a comment to D3043: _FORTIFY_SOURCE support.
Jul 26 2015, 9:23 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • blacklist sys/boot/mips/beri/loader/ too
Jul 26 2015, 12:18 AM · fortify source
pfg added a comment to D3043: _FORTIFY_SOURCE support.

Another for the blacklist:

Jul 26 2015, 12:01 AM · fortify source

Jul 25 2015

op added a comment to D3043: _FORTIFY_SOURCE support.
Jul 25 2015, 11:47 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.

op@opn secure> git shortlog HEAD~1..
Oliver Pinter (1):

FBSD FORTIFY: guard with !has_builtin(va_arg_pack) too the __builting_va_arg_pack usage
Jul 25 2015, 11:45 PM · fortify source
pfg added inline comments to D3043: _FORTIFY_SOURCE support.
Jul 25 2015, 11:38 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.

op@opn opBSD.git> git shortlog HEAD~4..
Oliver Pinter (4):

FBSD FORTIFY: blacklist sys/boot/powerpc/kboot
FBSD FORTIFY: try to disable build error with rtsol
FBSD FORTIFY: move to the righ place the rindex and guard them
FBSD FORTIFY: readd check against lint
Jul 25 2015, 11:28 PM · fortify source
op added inline comments to D3043: _FORTIFY_SOURCE support.
Jul 25 2015, 11:27 PM · fortify source

Jul 22 2015

pfg added a comment to D3043: _FORTIFY_SOURCE support.
In D3043#62639, @pfg wrote:

Some more notes:

...

  • You need to blacklist sys/boot/powerpc/kboot for the powerpc build.
Jul 22 2015, 8:39 PM · fortify source

Jul 21 2015

pfg added a comment to D3043: _FORTIFY_SOURCE support.

Some more notes:

Jul 21 2015, 3:30 PM · fortify source

Jul 16 2015

op updated the diff for D3043: _FORTIFY_SOURCE support.
  • add fallback case to st{p,r}ncpy and and some style improvements, this fixes login failure
  • blacklist usr.sbin/ppp
  • fix typos - FORITFY -> FORTIFY
Jul 16 2015, 5:02 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • a lot of copy pasted typo fix
Jul 16 2015, 12:32 AM · fortify source

Jul 15 2015

op updated the diff for D3043: _FORTIFY_SOURCE support.
  • Revert "FBSD FORTIFY: constify second parameter of __FD_ISSET_chk"
Jul 15 2015, 11:01 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • blacklist sys/boot/zfs from FORTIFIED build
  • try to fix build warning in contrib/sqlite3/sqlite3.c
  • constify second parameter of __FD_ISSET_chk
  • blacklist sys/boot/i386/libi386/
Jul 15 2015, 10:42 PM · fortify source
op added a comment to D3043: _FORTIFY_SOURCE support.
Jul 15 2015, 7:37 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • globally enable the FORTIFY SOURCE - added MK_FORTIFY
  • disable mostly from boot and rescue related stuffs
  • dirty hack to disable from libstand
  • typo fixes
Jul 15 2015, 7:36 PM · fortify source
pfg added inline comments to D3043: _FORTIFY_SOURCE support.
Jul 15 2015, 6:19 PM · fortify source
op added a comment to D3043: _FORTIFY_SOURCE support.
Jul 15 2015, 3:06 AM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • converted the variables and parameters to "private"
  • added MK_FORTIFY knob
  • blacklist some program and lib from fortification (mostly which use libstand)
Jul 15 2015, 3:03 AM · fortify source

Jul 14 2015

pfg added inline comments to D3043: _FORTIFY_SOURCE support.
Jul 14 2015, 10:57 PM · fortify source
pfg added a comment to D3043: _FORTIFY_SOURCE support.
Jul 14 2015, 9:46 PM · fortify source
pfg added a comment to D3043: _FORTIFY_SOURCE support.

After fixing the last two issues (shadow warnings) at least the bootstrap tool build completes.
On ARM64, I see:
...

>>> stage 4.2: building libraries

> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install)

> gnu/lib/libgcc (obj,depend,all,install)

> lib/libcompiler_rt (obj,depend,all,install)

> gnu/lib/csu (obj,depend,all,install)

> lib/csu (obj,depend,all,install)

> lib/csu/aarch64 (obj)

> lib/csu/aarch64 (depend)

> lib/csu/aarch64 (all)

> lib/csu/aarch64 (install)

> lib/libcompiler_rt (obj,depend,all,install)

> lib/libc (obj,depend,all,install)

gets_chk.So: In function `gets_chk':
/scratch/tmp/pfg/head/lib/libc/secure/__gets_chk.c:(.text+0x84): warning: warning: this program uses gets(), which is unsafe.
cc: error: linker command failed with exit code 1 (use -v to see invocation)

  • libc.so.7 ---
  • [libc.so.7] Error code 1

...

Jul 14 2015, 6:28 PM · fortify source
op added a comment to D3043: _FORTIFY_SOURCE support.
Jul 14 2015, 11:30 AM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • removed redundant redeclaration of '__snprintf_real'
  • removed redundant redeclaration of '__vsnprintf_real'
  • removed redundant redeclaration of '__gets_real'
  • fix c++ related - error: no member named '__sprintf_chk' in namespace 'std'; did you mean
Jul 14 2015, 11:29 AM · fortify source
pfg added a comment to D3043: _FORTIFY_SOURCE support.

both gcc and clang are complaining about redundant declarations.

Jul 14 2015, 1:30 AM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • remove broken __builtin_ prefix from s{,n}printf
Jul 14 2015, 12:30 AM · fortify source

Jul 13 2015

op added a comment to D3043: _FORTIFY_SOURCE support.
Jul 13 2015, 11:50 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • drop bionic's bcopy and bzero implementation, and rewrite them from scratch
  • added __dead2 to secure_common.c to fix build
Jul 13 2015, 11:49 PM · fortify source
pfg added inline comments to D3043: _FORTIFY_SOURCE support.
Jul 13 2015, 2:12 AM · fortify source

Jul 12 2015

op updated the diff for D3043: _FORTIFY_SOURCE support.
  • typo fixes
  • reworked sprintf and snprintf
Jul 12 2015, 9:15 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • include sys/_null.h in _socket.h - this should fix the build error was found by Pedro on PPC64
Jul 12 2015, 1:47 AM · fortify source
op added a comment to D3043: _FORTIFY_SOURCE support.

status update

Jul 12 2015, 12:42 AM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • fix memchr
Jul 12 2015, 12:41 AM · fortify source
op added a comment to D3043: _FORTIFY_SOURCE support.

status update

Jul 12 2015, 12:35 AM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • remove builtins where possible
  • fixed comments
  • fixed guards
Jul 12 2015, 12:32 AM · fortify source

Jul 11 2015

pfg added a comment to D3043: _FORTIFY_SOURCE support.

(small things to check)

Jul 11 2015, 11:36 PM · fortify source
pfg added a comment to D3043: _FORTIFY_SOURCE support.

Hi again Oliver;

Jul 11 2015, 4:43 PM · fortify source
pfg added a comment to D3043: _FORTIFY_SOURCE support.

Some more gcc version specifics.

Jul 11 2015, 4:39 PM · fortify source
op added a comment to D3043: _FORTIFY_SOURCE support.

Updated status.

Jul 11 2015, 12:46 AM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • fixed rename src -> s
  • added sys/limits.h to get SSIZE_MAX
  • "added" GNUC_PREREQ(4, 3) around __builtin_va_arg_pack
Jul 11 2015, 12:44 AM · fortify source

Jul 10 2015

pfg added a comment to D3043: _FORTIFY_SOURCE support.

A tinderbox build is finding a lot of issues in the fortify_source headers.

Jul 10 2015, 9:05 PM · fortify source
op updated the diff for D3043: _FORTIFY_SOURCE support.
  • fixed typo in comment
  • fixed sprintf and snprintf in clang case
  • updated test plan
Jul 10 2015, 12:19 AM · fortify source

Jul 9 2015

op updated the diff for D3043: _FORTIFY_SOURCE support.

Updated patch:

  • fixed the place of __restricted in _socket.h
Jul 9 2015, 8:40 PM · fortify source
op added a project to D3043: _FORTIFY_SOURCE support: fortify source.
Jul 9 2015, 8:32 PM · fortify source

May 30 2015

eadler added a member for fortify source: op.
May 30 2015, 6:21 PM
eadler added a member for fortify source: oliver.pntr-gmail.com.
May 30 2015, 6:21 PM
eadler removed a member for fortify source: oliver.
May 30 2015, 6:21 PM
eadler added members for fortify source: pfg, oliver.
May 30 2015, 6:20 PM
eadler created fortify source.
May 30 2015, 6:20 PM