seccomp_version - Online Linux Manual PageSection : 3
Updated : 18 February 2016
Source : paul@paul-moore.com
Note : libseccomp Documentation
NAME seccomp_version − Query the libseccomp version information
SYNOPSIS #include <seccomp.h>
struct scmp_version {
unsigned int major;
unsigned int minor;
unsigned int micro;
}
const struct scmp_version *seccomp_version(void);
Link with −lseccomp.
DESCRIPTION The seccomp_version() and seccomp_reset() functions return a pointer to a scmp_version struct which contains the version information of the currently loaded libseccomp library. This function can be used by applications that need to verify that they are linked to a specific libseccomp version at runtime. The caller should not attempt to free the returned scmp_version struct when finished.
RETURN VALUE The seccomp_version() function returns a pointer to a scmp_version structure on success, NULL on failure. The caller should not attempt to free the returned structure.
EXAMPLES #include <seccomp.h>
int main(int argc, char *argv[])
{
const struct scmp_version *ver;
ver = seccomp_version();
if (ver == NULL)
goto err;
/* ... */
return 0;
err:
return −1;
}
NOTES While the seccomp filter can be generated independent of the kernel, kernel support is required to load and enforce the seccomp filter generated by libseccomp. The libseccomp project site, with more information and the source code repository, can be found at https://github.com/seccomp/libseccomp. This tool, as well as the libseccomp library, is currently under development, please report any bugs at the project site or directly to the author.
AUTHOR Paul Moore <paul@paul-moore.com> 0
Johanes Gumabo
Data Size : 5,534 byte
man-seccomp_version.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 199,593
Visitor ID : :
Visitor IP : 18.226.28.97 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.