Page MenuHomeFreeBSD
Feed Advanced Search

Jun 5 2020

emaste committed rS361845: Also pass SKEIN_USE_ASM to the assembler, via AFLAGS.
Also pass SKEIN_USE_ASM to the assembler, via AFLAGS
Jun 5 2020, 6:57 PM
emaste committed rS361843: skein_block_asm.S: use #ifdef not .ifdef, for Clang IAS.
skein_block_asm.S: use #ifdef not .ifdef, for Clang IAS
Jun 5 2020, 6:37 PM
emaste closed D25154: skein_block_asm.s: use #ifdef not .ifdef, for Clang IAS.
Jun 5 2020, 6:37 PM
emaste added inline comments to D8434: Rename to skein_block_asm.s to .S, to use Clang's integrated assembler.
Jun 5 2020, 5:56 PM
emaste reclaimed D8434: Rename to skein_block_asm.s to .S, to use Clang's integrated assembler.
Jun 5 2020, 5:51 PM
emaste abandoned D8434: Rename to skein_block_asm.s to .S, to use Clang's integrated assembler.
Jun 5 2020, 5:51 PM
emaste updated the diff for D8434: Rename to skein_block_asm.s to .S, to use Clang's integrated assembler.

rebase

Jun 5 2020, 5:51 PM
emaste requested review of D25154: skein_block_asm.s: use #ifdef not .ifdef, for Clang IAS.
Jun 5 2020, 5:44 PM
emaste committed rS361840: Apply C SKEIN_LOOP setting only to skein_block.c.
Apply C SKEIN_LOOP setting only to skein_block.c
Jun 5 2020, 5:01 PM
emaste accepted D25148: remove references to using shar archives for submitting ports.
Jun 5 2020, 2:37 PM
emaste added inline comments to D25143: Allow assembling skein_block_asm.s with clang.
Jun 5 2020, 1:46 PM
emaste accepted D25143: Allow assembling skein_block_asm.s with clang.

GNU as 2.17.50 assembles this identically to the unpatched version; IMO you should commit this now, and you or I can follow up with the build infrastructure change.

Jun 5 2020, 1:20 PM
emaste added a comment to D25143: Allow assembling skein_block_asm.s with clang.

godbolt shows one inconsequential difference between clang & gcc:

--- clang.txt   2020-06-05 08:29:34.207545000 -0400
+++ gcc.txt     2020-06-05 08:29:58.341321000 -0400
@@ -1866,8 +1866,8 @@
  mov    QWORD PTR [rbp+0xc0],rcx
  mov    r9,QWORD PTR [rdi+0x18]
  jmp    1bc0 <Skein1024_block_loop>
- nop    WORD PTR cs:[rax+rax*1+0x0]
- nop    DWORD PTR [rax+0x0]
+ data16 nop WORD PTR cs:[rax+rax*1+0x0]
+ nop    DWORD PTR [rax]
 Skein1024_block_loop:
  mov    r8,QWORD PTR [rdi+0x10]
  add    r8,QWORD PTR [rbp+0xc0]
Jun 5 2020, 12:33 PM

Jun 4 2020

emaste committed rS361781: Correct terminology in vm.imply_prot_max sysctl description.
Correct terminology in vm.imply_prot_max sysctl description
Jun 4 2020, 1:49 AM

Jun 3 2020

emaste committed rS361769: mmap.2: correct prot argument terminology.
mmap.2: correct prot argument terminology
Jun 3 2020, 8:43 PM

Jun 2 2020

emaste committed rS361740: lld: Set DF_1_PIE for -pie.
lld: Set DF_1_PIE for -pie
Jun 2 2020, 10:57 PM
emaste committed rS361739: llvm: Add DF_1_PIE.
llvm: Add DF_1_PIE
Jun 2 2020, 10:56 PM
emaste accepted D25086: Do not allow to load ET_DYN object with DF_1_PIE flag set..

This looks reasonable to me. We'll need to bring in a couple of LLVM commits to be able to test.

Jun 2 2020, 1:07 AM
emaste added a comment to D25086: Do not allow to load ET_DYN object with DF_1_PIE flag set..

Following up after discussions on IRC, the canonical way do do this is:
CFLAGS=-fPIC
LDFLAGS=-pic
or if compiling a test app on the command line,
cc -fPIC -pic ...

Jun 2 2020, 12:50 AM
emaste committed rS361714: MFC r361657: elf_common.h: define DF_1_PIE.
MFC r361657: elf_common.h: define DF_1_PIE
Jun 2 2020, 12:49 AM
emaste committed rS361713: bsd.prog.mk: split MK_PIE test for clarity.
bsd.prog.mk: split MK_PIE test for clarity
Jun 2 2020, 12:46 AM

Jun 1 2020

emaste added a comment to D25086: Do not allow to load ET_DYN object with DF_1_PIE flag set..

Problem is that all drivers link with crt1.o instead of Scrt1.o. See r200038.

Jun 1 2020, 7:11 PM
emaste added a comment to D25086: Do not allow to load ET_DYN object with DF_1_PIE flag set..

lld 10 refuses to link with -fPIE -Wl,--pie with errors like

ld: error: cannot preempt symbol: _DYNAMIC
>>> defined in 
>>> referenced by crt1.c:62 (/usr/home/emaste/src/freebsd-svn/head/lib/csu/amd64/crt1.c:62)
>>>               /usr/lib/crt1.o:(_start)
...
Jun 1 2020, 5:28 PM

May 31 2020

emaste committed rS361662: readelf: add more DT_FLAGS_1 flags.
readelf: add more DT_FLAGS_1 flags
May 31 2020, 3:32 PM
emaste accepted D25079: vt(4): reset scrollback and cursor position after clearing history buffer.
May 31 2020, 12:48 AM

May 30 2020

emaste committed rS361657: elf_common.h: define DF_1_PIE.
elf_common.h: define DF_1_PIE
May 30 2020, 7:57 PM
emaste committed rS361656: binutils: build as with BINUTILS || BINUTILS_BOOTSTRAP.
binutils: build as with BINUTILS || BINUTILS_BOOTSTRAP
May 30 2020, 7:16 PM
emaste committed rS361651: Makefile.inc1: remove BINUTILS_BOOTSTRAP linker support.
Makefile.inc1: remove BINUTILS_BOOTSTRAP linker support
May 30 2020, 4:20 PM
emaste committed rS361650: Add deprecation notice to WITH_BINUTILS option description.
Add deprecation notice to WITH_BINUTILS option description
May 30 2020, 4:13 PM
emaste committed rS361649: Add deprecation notice to WITH_BINUTILS option description.
Add deprecation notice to WITH_BINUTILS option description
May 30 2020, 4:13 PM
emaste committed rS361648: Disable BINUTILS by default on amd64.
Disable BINUTILS by default on amd64
May 30 2020, 4:12 PM
emaste committed rP537092: databases/memcached: add BUILD_DEPENDS as:devel/binutils.
databases/memcached: add BUILD_DEPENDS as:devel/binutils
May 30 2020, 4:06 PM
emaste committed rP537091: lang/myrddin: add BUILD_DEPENDS as:devel/binutils.
lang/myrddin: add BUILD_DEPENDS as:devel/binutils
May 30 2020, 4:02 PM
emaste committed rP537090: net/zerotier: add BUILD_DEPENDS as:devel/binutils.
net/zerotier: add BUILD_DEPENDS as:devel/binutils
May 30 2020, 4:00 PM
emaste committed rP537089: security/nflib: add BUILD_DEPENDS as:devel/binutils.
security/nflib: add BUILD_DEPENDS as:devel/binutils
May 30 2020, 3:58 PM
emaste committed rP537088: security/akmos: add BUILD_DEPENDS as:devel/binutils.
security/akmos: add BUILD_DEPENDS as:devel/binutils
May 30 2020, 3:56 PM
emaste committed rP537087: audio/ardour5: add BUILD_DEPENDS as:devel/binutils.
audio/ardour5: add BUILD_DEPENDS as:devel/binutils
May 30 2020, 3:53 PM

May 29 2020

emaste committed rS361629: regen src.conf.5 after BINUTILS changes.
regen src.conf.5 after BINUTILS changes
May 29 2020, 5:43 PM
emaste committed rS361628: Disable BINUTILS by default on i386.
Disable BINUTILS by default on i386
May 29 2020, 5:43 PM
emaste added inline comments to D24688: Introduce cap_net a network service for Casper..
May 29 2020, 3:05 AM
emaste added inline comments to D24688: Introduce cap_net a network service for Casper..
May 29 2020, 2:56 AM
emaste added inline comments to D24688: Introduce cap_net a network service for Casper..
May 29 2020, 2:27 AM
emaste committed rP536828: lang/mit-scheme: add BUILD_DEPENDS as:devel/binutils.
lang/mit-scheme: add BUILD_DEPENDS as:devel/binutils
May 29 2020, 12:22 AM
emaste committed rP536827: lang/ocaml: add BUILD_DEPENDS as:devel/binutils.
lang/ocaml: add BUILD_DEPENDS as:devel/binutils
May 29 2020, 12:20 AM
emaste committed rP536826: devel/plan9port: add BUILD_DEPENDS as:devel/binutils.
devel/plan9port: add BUILD_DEPENDS as:devel/binutils
May 29 2020, 12:17 AM
emaste committed rP536825: comms/syncterm: add BUILD_DEPENDS as:devel/binutils.
comms/syncterm: add BUILD_DEPENDS as:devel/binutils
May 29 2020, 12:15 AM
emaste committed rP536824: comms/libfec: add BUILD_DEPENDS as:devel/binutils.
comms/libfec: add BUILD_DEPENDS as:devel/binutils
May 29 2020, 12:12 AM

May 28 2020

emaste added a comment to D25021: Synchronize OpenBSM github repository with the FreeBSD sources.

I'm a little confused, should this not just be a vendor update of OpenBSM? In come circumstances we might cherry-pick an individual fix or two into contrib/, but in general I'd expect to see a wholesale update to a newer release/snapshot.

May 28 2020, 11:42 PM
Herald added 1 blocking reviewer(s) for D15358: Address memory leak in new reno cc module: transport.

@lstewart sorry I missed your question earlier, but it looks like there was sufficient commentary

May 28 2020, 11:03 PM
emaste committed rS361607: rename in-tree libevent v1 to libevent1.
rename in-tree libevent v1 to libevent1
May 28 2020, 10:06 PM
emaste closed D17275: rename in-tree libevent v1 from libevent to libevent1.
May 28 2020, 10:06 PM
emaste committed rS361596: fortune: remove warning about potentially offensive fortunes.
fortune: remove warning about potentially offensive fortunes
May 28 2020, 8:39 PM
emaste accepted D24815: vt(4): Add support for `vidcontrol -C'.

I noticed one nit - after clearing history you can press Scroll Lock and scroll up through the cleared history buffer, while we probably want to reset that as well. However, I'd suggest that you commit this now and we can address that in a followup. I also did not check how sc(4) behaves with respect to this.

May 28 2020, 4:49 PM
emaste added a comment to D23928: Add deprecation notices to ce and cp sync serial drivers.

Some time ago I started a thread on FreeBSD-stable to ask if there are any users and received no responses.

May 28 2020, 2:40 PM
emaste added a comment to D23928: Add deprecation notices to ce and cp sync serial drivers.

@glebius were you able to find out anything?

May 28 2020, 2:36 PM

May 27 2020

emaste added a comment to D25031: [net80211] Fix interrupted scan logic and ticks comparison.

Could make the flags bool instead of int

May 27 2020, 5:35 PM
emaste committed rS361543: MFC r361292: vt: fix duplicate keymap descriptions.
MFC r361292: vt: fix duplicate keymap descriptions
May 27 2020, 1:04 AM

May 26 2020

emaste removed a watcher for wireless: emaste.
May 26 2020, 12:30 AM
emaste added a member for wireless: emaste.
May 26 2020, 12:30 AM
emaste added a watcher for wireless: emaste.
May 26 2020, 12:30 AM

May 25 2020

emaste abandoned D11394: Disable in-tree binutils bootstrap for powerpc64.

At this point BINUTILS is enabled only on i386 and amd64, BINUTILS_BOOTSTRAP only on amd64.

May 25 2020, 9:28 PM
emaste accepted D24176: pkgbase: Remove the last users of the FreeBSD-example package.
May 25 2020, 1:32 PM

May 24 2020

emaste defrocked rpaulo.
May 24 2020, 10:41 PM
emaste committed rS361437: Make i386 memstick images bootable..
Make i386 memstick images bootable.
May 24 2020, 6:26 PM

May 22 2020

emaste committed rP536203: math/ldouble: add BUILD_DEPENDS as:devel/binutils.
math/ldouble: add BUILD_DEPENDS as:devel/binutils
May 22 2020, 1:56 PM
emaste committed rP536201: lang/hla: add BUILD_DEPENDS as:devel/binutils.
lang/hla: add BUILD_DEPENDS as:devel/binutils
May 22 2020, 1:50 PM
emaste committed rS361378: MFS11 r361305 (dteske): bsdinstall: fix wpa_supplicant.conf indentation.
MFS11 r361305 (dteske): bsdinstall: fix wpa_supplicant.conf indentation
May 22 2020, 12:54 PM
emaste added a comment to D24948: Add btyacc(1) - yacc(1) compiled with backtracking support.

OK, fair enough. Another question, what is the downside of building regular yacc with YYBTYACC?

May 22 2020, 1:33 AM
emaste added a comment to D24948: Add btyacc(1) - yacc(1) compiled with backtracking support.

Seems reasonable to me, although I'm curious about the use cases

May 22 2020, 1:25 AM

May 21 2020

emaste added a comment to D24945: Turn off SSLv3..
In D24945#549333, @jmg wrote:

If you want to test, you generate a self sign cert:

May 21 2020, 11:27 PM
emaste added inline comments to D24946: Revert to the initial version of D24918.
May 21 2020, 10:31 PM
emaste accepted D24947: Remove support for SSLv3 from fetch(3).
May 21 2020, 10:08 PM
emaste added inline comments to D24946: Revert to the initial version of D24918.
May 21 2020, 7:22 PM
emaste accepted D24945: Turn off SSLv3..
May 21 2020, 6:01 PM

May 20 2020

emaste committed rS361304: MFC r361104 (jhibbits): elftoolchain: Add powerpc64 definition.
MFC r361104 (jhibbits): elftoolchain: Add powerpc64 definition
May 20 2020, 10:19 PM
emaste committed rS361301: MFC r349577 (arichardson): Allow bootstrapping elftoolchain on MacOS and Linux.
MFC r349577 (arichardson): Allow bootstrapping elftoolchain on MacOS and Linux
May 20 2020, 9:41 PM
emaste committed rS361292: vt: fix duplicate keymap descriptions.
vt: fix duplicate keymap descriptions
May 20 2020, 8:24 PM
emaste closed D24139: pkgbase: use -dev,-dbg instead of -development,-debug.
May 20 2020, 7:45 PM
emaste committed rS361290: pkgbase: use -dev,-dbg instead of -development,-debug.
pkgbase: use -dev,-dbg instead of -development,-debug
May 20 2020, 7:45 PM
emaste requested review of D24933: implement W^X for mmap and mprotect.
May 20 2020, 6:29 PM
emaste added a comment to D24596: vfs: add restrictions to read(2) of a directory.

I can remove this pre-commit if consensus moves in that direction.

May 20 2020, 6:05 PM
emaste committed rS361283: src.conf.5: regen after r361282, GNU_DIFF knob descriptions.
src.conf.5: regen after r361282, GNU_DIFF knob descriptions
May 20 2020, 5:27 PM
emaste committed rS361282: Update GNU_DIFF knob descriptions.
Update GNU_DIFF knob descriptions
May 20 2020, 5:21 PM
emaste added a comment to D10335: VirtFS/9p filesystem passthrough support (virtio-9p).

Will you refresh this review now that the library is in vendor (and merged to contrib)?

May 20 2020, 4:40 PM
emaste added a comment to D24596: vfs: add restrictions to read(2) of a directory.
In D24596#547800, @pi wrote:

These types of greps on a linux system return an error message for every directory in the directory you ran the grep in

So if we modify grep to not try to read directories and not spew errors, would that be a solution ?

May 20 2020, 4:09 PM
emaste accepted D24918: Add load offset value to struct link_map..

This is fine with me

May 20 2020, 2:37 PM

May 19 2020

emaste committed rS361269: MFC r357826: elfcopy: set ELF OS/ABI field when converting from binary.
MFC r357826: elfcopy: set ELF OS/ABI field when converting from binary
May 19 2020, 10:10 PM
emaste added a comment to D24918: Add load offset value to struct link_map..

I do wonder what the impact of changing l_addr would actually be

May 19 2020, 3:57 PM
emaste committed rS361230: blacklistd.conf.5: typo/grammar fixes.
blacklistd.conf.5: typo/grammar fixes
May 19 2020, 12:15 AM

May 18 2020

emaste committed rS361218: GNU as: move deprecation message after option parsing.
GNU as: move deprecation message after option parsing
May 18 2020, 4:07 PM
emaste added a reviewer for D24883: ldconfig: remove i386 aout invocation: imp.
May 18 2020, 2:45 PM

May 17 2020

emaste committed rS361142: MF11 r360876: Merge commit 21e5e1724b75 from llvm git:.
MF11 r360876: Merge commit 21e5e1724b75 from llvm git:
May 17 2020, 9:30 PM

May 16 2020

emaste closed D24790: libalias: retire cuseeme support.

rS361099

May 16 2020, 9:54 PM
emaste committed rS361099: libalias: retire cuseeme support.
libalias: retire cuseeme support
May 16 2020, 2:29 AM

May 15 2020

emaste added a comment to D24790: libalias: retire cuseeme support.

We should also check the other modules -- for example, ftp and irc are in common use; I'm not sure off hand what skinny and smedia are.

May 15 2020, 2:40 PM

May 14 2020

emaste added inline comments to D21959: introduce new 'ice' driver for Intel E800 Ethernet controllers.
May 14 2020, 11:27 PM
emaste added a comment to D24805: liblzma: Make liblzma use libmd implementation of SHA256..

Do we need to request an up-to-date exp-run?

May 14 2020, 9:04 PM
emaste changed the visibility for D24790: libalias: retire cuseeme support.
May 14 2020, 8:44 PM
emaste committed rS361059: MFC r360594: ipfw: whitespace fix in SCTP_ABORT_ASSOCIATION case statement….
MFC r360594: ipfw: whitespace fix in SCTP_ABORT_ASSOCIATION case statement…
May 14 2020, 8:44 PM
emaste added a comment to D8188: Introduce lib/libgcc_eh and lib/libgcc_s for LLVM's implementation.

It looks like we should be able to do away with it

May 14 2020, 8:07 PM