Page MenuHomeFreeBSD

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

Authored by fernape on Apr 9 2022, 5:11 PM.
Tags
None
Referenced Files
F102901879: D34860.diff
Mon, Nov 18, 12:49 PM
Unknown Object (File)
Tue, Nov 12, 8:06 PM
Unknown Object (File)
Sep 30 2024, 4:46 PM
Unknown Object (File)
Sep 24 2024, 9:06 AM
Unknown Object (File)
Sep 23 2024, 12:48 PM
Unknown Object (File)
Sep 23 2024, 12:48 PM
Unknown Object (File)
Sep 20 2024, 7:06 PM
Unknown Object (File)
Sep 16 2024, 4:23 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.