Groups
Groups
Sign in
Groups
Groups
kyua-log
Conversations
About
Send feedback
Help
[freebsd/kyua] e00888: Preserve pointer provenance when adjusting const
0 views
Skip to first unread message
Enji Cooper
unread,
Jul 8, 2026, 1:36:11 PM
Jul 8
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kyua...@googlegroups.com
Branch: refs/heads/master
Home:
https://github.com/freebsd/kyua
Commit: e00888409733cda5710ca7d629638afc9bbcea8b
https://github.com/freebsd/kyua/commit/e00888409733cda5710ca7d629638afc9bbcea8b
Author: Brooks Davis <
bro...@one-eyed-alien.net
>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M utils/process/operations.cpp
Log Message:
-----------
Preserve pointer provenance when adjusting const
Use uintptr_t instead of unsigned long when tweaking the constness of
execv's arguments. The latter does not preserve provenance while
uintptr_t does.
Effort: CHERI upstreaming
Sponsored by: Innovate UK
Commit: 382bad066baafe471300784a951045e811f335c9
https://github.com/freebsd/kyua/commit/382bad066baafe471300784a951045e811f335c9
Author: Brooks Davis <
bro...@one-eyed-alien.net
>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M utils/
defs.hpp.in
Log Message:
-----------
UTILS_UNCONST(): use uintptr_t to remove const
unsigned long does not preserve provenance.
Commit: 1d9c4fc9fc1903d54a88847e216ed07c4ebb55ff
https://github.com/freebsd/kyua/commit/1d9c4fc9fc1903d54a88847e216ed07c4ebb55ff
Author: Enji Cooper <ng...@FreeBSD.org>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M utils/
defs.hpp.in
M utils/process/operations.cpp
Log Message:
-----------
Merge pull request #284 from brooksdavis/safer-deconst
Preserve pointer provenance when adjusting const
Compare:
https://github.com/freebsd/kyua/compare/c16795ce711b...1d9c4fc9fc19
To unsubscribe from these emails, change your notification settings at
https://github.com/freebsd/kyua/settings/notifications
Reply all
Reply to author
Forward
0 new messages