public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 220273] New: syslog(2): conflict between "The symbolic names [...] are not exported to user space" and "Definition of SYSLOG_* constants"?
@ 2025-06-26 14:54 bugzilla-daemon
  2025-08-18  6:44 ` [Bug 220273] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2025-06-26 14:54 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=220273

            Bug ID: 220273
           Summary: syslog(2): conflict between "The symbolic names [...]
                    are not exported to user space" and "Definition of
                    SYSLOG_* constants"?
           Product: Documentation
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: man-pages
          Assignee: documentation_man-pages@kernel-bugs.osdl.org
          Reporter: nathaniel@google.com
        Regression: No

Over at syslog(2) we see both

```
#include <sys/klog.h>        /* Definition of SYSLOG_* constants */
```

and

```
The symbolic names
are defined in the kernel source, but are not exported to user
space; you will either need to use the numbers, or define the
names yourself.
```

Is there a conflict between these two? After reading the first one I spent a
while trying to figure out why I wasn't able to use the constants in my code
despite having the include; only much later did I notice the second one.

If there's no conflict between the two, what might I be misunderstanding about
the first one?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-18  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26 14:54 [Bug 220273] New: syslog(2): conflict between "The symbolic names [...] are not exported to user space" and "Definition of SYSLOG_* constants"? bugzilla-daemon
2025-08-18  6:44 ` [Bug 220273] " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox