Re: UART question
[email protected] (Michael van Elst)
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Organization | Serpens User Group |
| Message-ID | <[email protected]> |
[email protected] (Christoph Badura) writes: >On Fri, Jul 11, 2025 at 09:11:31AM +1200, Lloyd Parkes wrote: >> I suspect that this is behaviour that you have learned because Linux >> makes it hard to use dmesg. On (all?) other Unixes dmesg can be run by >> an unprivileged user. >What are you talking about? >$ uname -a;id -u; dmesg |sed 1q >Linux flying-carpet 6.12.30-current-sunxi #1 SMP Thu May 22 12:29:54 UTC >2025 armv7l GNU/Linux >1000 >[ 0.000000] Booting Linux on physical CPU 0x0 >$ Depends... > /sbin/sysctl kernel.dmesg_restrict kernel.dmesg_restrict = 1 That's the default, but different distributions obviously may build their kernels with different settings for SECURITY_DMESG_RESTRICT.