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)
Sun, May 5, 7:50 AM
Unknown Object (File)
Sun, Apr 21, 8:03 AM
Unknown Object (File)
Mar 11 2024, 9:42 AM
Unknown Object (File)
Jan 18 2024, 5:12 PM
Unknown Object (File)
Jan 11 2024, 7:24 PM
Unknown Object (File)
Dec 9 2023, 6:08 AM
Unknown Object (File)
Nov 28 2023, 3:29 PM
Unknown Object (File)
Nov 28 2023, 9:03 AM
Subscribers

Details

Summary

Submitted by: rwatson
Sponsored by: DARAP, AFRL

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #19592)

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 ↗(On Diff #19592)

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 ↗(On Diff #19644)

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.