-
Notifications
You must be signed in to change notification settings - Fork 991
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2783 - Freaky:dfbsd_kinfo_proc, r=Amanieu
Add DragonFlyBSD kinfo_proc and kinfo_lwp structs This adds the aforementioned structs and a few supporting enums and constants. I added the structs to semvar - contribution guidelines also say to add constants (and presumably enums) but I don't see this done for similar values to the ones I added so I'm unclear if there's some subtlety to this I'm missing. One field is also expected to be rounded up to the nearest sizeof(long). Rather than worry about cfg() or whether I can use const size_of, I just assumed 8 bytes, as DragonFly's last 32-bit release was nearly 8 years ago.
- Loading branch information
Showing
2 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1315,6 +1315,8 @@ kevent | |
killpg | ||
kinfo_cputime | ||
kinfo_file | ||
kinfo_lwp | ||
kinfo_proc | ||
kqueue | ||
labs | ||
lastlog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters