HomeFreeBSD

elfctl: fix operations with multiple features on multiple files

Description

elfctl: fix operations with multiple features on multiple files

Previously an invocation like

elfctl -e +feature1,feature2 file1 file2

would set both feature flags in file 1 but only feature1 in file2 (due
to the string being modified by strsep()).

Reported by: jrm
Tested by: jrm
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34283

Details

Provenance
emasteAuthored on Feb 15 2022, 3:44 AM
Differential Revision
D34283: elfctl: fix operations with multiple features on multiple files
Parents
rG0c2832ee4f2d: tcp: Restore 6 tcps padding entries in HEAD
Branches
Unknown
Tags
Unknown