Page MenuHomeFreeBSD

Capsicumize brandelf.
ClosedPublic

Authored by oshogbo on Nov 12 2018, 9:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 4:39 AM
Unknown Object (File)
Nov 11 2023, 3:34 AM
Unknown Object (File)
Nov 9 2023, 3:35 AM
Unknown Object (File)
Oct 8 2023, 2:32 AM
Unknown Object (File)
Feb 27 2023, 3:56 PM
Subscribers

Details

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision is now accepted and ready to land.Nov 12 2018, 11:36 PM
markj added inline comments.
usr.bin/brandelf/Makefile
10

Inconsistent whitespace.

usr.bin/brandelf/brandelf.c
141

These should really have separate error messages.

usr.bin/brandelf/brandelf.c
141

I'm indifferent on that - is there a different action the user can take based on which error message comes out?

usr.bin/brandelf/brandelf.c
141

No, but the first step taken by anyone debugging the error will be to figure out which of the two calls is failing.

usr.bin/brandelf/brandelf.c
141

Most likely the first action is to set kern.trap_enotcap to 1 and get a backtrace? Anyway I'm fine with either.