Linux Manual Pages development
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-man@vger.kernel.org
Subject: [Bug 220273] New: syslog(2): conflict between "The symbolic names [...] are not exported to user space" and "Definition of SYSLOG_* constants"?
Date: Thu, 26 Jun 2025 14:54:59 +0000	[thread overview]
Message-ID: <bug-220273-11311@https.bugzilla.kernel.org/> (raw)

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.

             reply	other threads:[~2025-06-26 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-26 14:54 bugzilla-daemon [this message]
2025-08-18  6:44 ` [Bug 220273] syslog(2): conflict between "The symbolic names [...] are not exported to user space" and "Definition of SYSLOG_* constants"? bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-220273-11311@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox