-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a Doxygen introduction to seccomp.h.in and add an API section to api.c. Signed-off-by: Tom Hromatka <[email protected]>
- Loading branch information
1 parent
abae4a2
commit ec5f257
Showing
2 changed files
with
30 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
/** | ||
/* | ||
* Seccomp Library | ||
* | ||
* Copyright (c) 2021,2022 Microsoft corporation <[email protected]> | ||
* Copyright (c) 2018-2022 Oracle <[email protected]> | ||
* Copyright (c) 2019 Cisco Systems <[email protected]> | ||
* Copyright (c) 2012,2013 Red Hat <[email protected]> | ||
* Author: Paul Moore <[email protected]> | ||
|
@@ -35,6 +37,24 @@ | |
extern "C" { | ||
#endif | ||
|
||
/*! \mainpage libseccomp | ||
* | ||
* \section intro_sec Introduction | ||
* | ||
* @c The libseccomp library provides an easy to use, platform independent, | ||
* interface to the Linux Kernel's syscall filtering mechanism. The libseccomp | ||
* API is designed to abstract away the underlying BPF based syscall filter | ||
* language and present a more conventional function-call based filtering | ||
* interface that should be familiar to, and easily adopted by, application | ||
* developers. | ||
* | ||
* View the entire | ||
* <a href="https://github.com/seccomp/libseccomp/blob/main/README.md">README</a> | ||
* for more information | ||
* | ||
* Libcgroup's C APIs are outlined in the @ref APIs "APIs" section. | ||
*/ | ||
|
||
/* | ||
* version information | ||
*/ | ||
|
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