Page MenuHomeFreeBSD

[linprocfs] add sys/kernel/random/boot_id
ClosedPublic

Authored by fernape on Apr 9 2022, 5:11 PM.
Tags
None
Referenced Files
F115947764: D34860.id104886.diff
Wed, Apr 30, 6:25 PM
F115928517: D34860.diff
Wed, Apr 30, 1:05 PM
Unknown Object (File)
Thu, Apr 24, 11:50 PM
Unknown Object (File)
Sun, Apr 6, 11:31 PM
Unknown Object (File)
Mar 23 2025, 2:57 AM
Unknown Object (File)
Mar 12 2025, 12:16 PM
Unknown Object (File)
Mar 12 2025, 9:31 AM
Unknown Object (File)
Feb 4 2025, 4:52 AM
Subscribers

Details

Summary

This file holds a UUID that is invariant for every boot.
In FreeBSD case, it is invariant per mount.

PR: 262369
Reported by: sodynet1@gmail.com

Test Plan
  • Apply patch
  • Rebuild & remount linprocfs
  • cat /compat/linux/proc/sys/kernel/random/boot_id

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45096
Build 41984: arc lint + arc unit

Event Timeline

dchagin added inline comments.
sys/compat/linprocfs/linprocfs.c
1896

I would prefer bool here

This revision is now accepted and ready to land.Apr 9 2022, 10:13 PM
This revision was automatically updated to reflect the committed changes.

Committed with bool instead of char.

Thanks for reviewing this.