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
F170608954: D41419.id125856.diff
Sat, Sep 5, 3:19 PM
F170582120: D41419.id125856.diff
Sat, Sep 5, 12:30 PM
F170543113: D41419.id.diff
Sat, Sep 5, 8:08 AM
F170538672: D41419.diff
Sat, Sep 5, 7:38 AM
F170513166: D41419.id.diff
Sat, Sep 5, 4:31 AM
Unknown Object (File)
Thu, Sep 3, 2:23 PM
Unknown Object (File)
Thu, Sep 3, 8:42 AM
Unknown Object (File)
Thu, Sep 3, 4:28 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 53042
Build 49933: arc lint + arc unit

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.