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)
Fri, Oct 10, 8:17 PM
Unknown Object (File)
Fri, Oct 10, 8:14 PM
Unknown Object (File)
Fri, Oct 10, 8:13 PM
Unknown Object (File)
Fri, Oct 10, 2:47 PM
Unknown Object (File)
Mon, Oct 6, 8:14 PM
Unknown Object (File)
Thu, Sep 25, 12:59 AM
Unknown Object (File)
Wed, Sep 24, 5:53 PM
Unknown Object (File)
Wed, Sep 24, 1:43 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 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.