19 Jan
2011
19 Jan
'11
7:37 p.m.
Good point indeed.
I didn't think about what happens when people like RH, Debian, or Ubuntu backport things.
Better just to try it, and set errno.
However what happens if the user space headers on a box are missing the CAP_SYSLOG macro but the kernel has a backport to support CAP_SYSLOG?
From what I've seen elsewhere, '#define CAP_SYSLOG 34' (or whatever number the cap has) is the way to go.
-- |8]