Page MenuHomeFreeBSD

Link /usr/bin/cpuset to a relative path
ClosedPublic

Authored by ngie on Aug 11 2023, 1:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 8 2024, 1:51 PM
Unknown Object (File)
Dec 6 2024, 2:48 AM
Unknown Object (File)
Dec 6 2024, 2:48 AM
Unknown Object (File)
Dec 6 2024, 2:48 AM
Unknown Object (File)
Dec 2 2024, 3:54 PM
Unknown Object (File)
Dec 2 2024, 1:52 AM
Unknown Object (File)
Nov 26 2024, 6:12 PM
Unknown Object (File)
Nov 14 2024, 6:34 PM
Subscribers
None

Details

Summary

This creates an appropriate symlink instead of a potentially incorrect
path.

MFC after: 2 weeks
Requested by: imp

Test Plan

Confirmed cpuset continued to work after the change:

$ ls -l /usr/bin/cpuset
lrwxr-xr-x  1 root wheel 16 Aug 10 18:09 /usr/bin/cpuset -> ../../bin/cpuset
$ /usr/bin/cpuset true
$ sudo /usr/bin/cpuset -g -p 1 
pid 1 mask: 0, 1, 2, 3, 4, 5
pid 1 domain policy: first-touch mask: 0
$

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ngie requested review of this revision.Aug 11 2023, 1:14 AM
ngie edited the test plan for this revision. (Show Details)
ngie added reviewers: imp, kevans.
ngie removed a subscriber: imp.
This revision is now accepted and ready to land.Aug 11 2023, 2:24 AM
This revision was automatically updated to reflect the committed changes.