Page MenuHomeFreeBSD

Rename sigprop-table constants to SIGPROP_ from SA_ to reduce the impression of a namespace collision.
ClosedPublic

Authored by brooks on Aug 23 2016, 5:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 12:34 PM
Unknown Object (File)
Thu, Nov 28, 9:29 PM
Unknown Object (File)
Nov 5 2024, 8:45 AM
Unknown Object (File)
Nov 4 2024, 12:36 PM
Unknown Object (File)
Oct 23 2024, 4:50 AM
Unknown Object (File)
Oct 18 2024, 1:10 PM
Unknown Object (File)
Oct 18 2024, 6:36 AM
Unknown Object (File)
Oct 5 2024, 6:26 AM
Subscribers

Details

Summary

Submitted by: rwatson
Sponsored by: DARAP, AFRL

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4924
Build 4987: arc lint + arc unit

Event Timeline

brooks retitled this revision from to Rename sigprop-table constants to SIGPROP_ from SA_ to reduce the impression of a namespace collision..
brooks updated this object.
brooks edited the test plan for this revision. (Show Details)
brooks added reviewers: rwatson, jhb.
jhb edited edge metadata.

Maybe see if kib@ cares. SIGPROP is a bit verbose, but a SP_ prefix probably implies "stack pointer" which is more confusing than SA_.

This revision is now accepted and ready to land.Aug 23 2016, 10:16 PM

I am curious why. Is the 'impression of collision' against the sigaction.sa_flags bits ?

sys/kern/kern_sig.c
199

Formatting there is completely broken. You left second tab after symbol names in all lines except TTYSTOP and IGNORE, and the look of the block is awful now. Also, most lines become too long.

3062–3063

This line becames too long and must be wrapped.

brooks edited edge metadata.
  • Fix line wraps.
This revision now requires review to proceed.Aug 24 2016, 4:12 PM

The impression of collision is indeed with sigaction.sa_flags. In CheriBSD we expose signal properties to MD code so they appear near each other.

kib edited edge metadata.
This revision is now accepted and ready to land.Aug 24 2016, 9:19 PM
sys/kern/kern_sig.c
203

You may also use the opportunity to fix style in the table by adding spaces around '|'.

brooks edited edge metadata.
  • Add spaces around |'s as suggested by kib.
This revision now requires review to proceed.Sep 2 2016, 4:13 PM

Made suggest style change.

kib edited edge metadata.
This revision is now accepted and ready to land.Sep 2 2016, 6:12 PM
This revision was automatically updated to reflect the committed changes.