This is an archive of the discontinued LLVM Phabricator instance.

[libc] add kill
ClosedPublic

Authored by michaelrj on Oct 6 2022, 3:00 PM.

Details

Summary

Add the kill syscall wrapper and tests.

Diff Detail

Event Timeline

michaelrj created this revision.Oct 6 2022, 3:00 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 6 2022, 3:00 PM
michaelrj requested review of this revision.Oct 6 2022, 3:00 PM
sivachandra accepted this revision.Oct 6 2022, 3:15 PM

One nit inline and, should you add pid_t somewhere in linux/api.td?

libc/src/signal/linux/kill.cpp
2

kill

This revision is now accepted and ready to land.Oct 6 2022, 3:15 PM
michaelrj updated this revision to Diff 465904.Oct 6 2022, 3:25 PM
michaelrj marked an inline comment as done.

fix nits and formatting before land

This revision was landed with ongoing or failed builds.Oct 6 2022, 3:26 PM
Closed by commit rG9015810648ed: [libc] add kill (authored by michaelrj). · Explain Why
This revision was automatically updated to reflect the committed changes.