{"id":21262405,"url":"https://github.com/borodun/linux-capabilities","last_synced_at":"2026-04-12T22:49:39.256Z","repository":{"id":117198444,"uuid":"367779166","full_name":"borodun/linux-capabilities","owner":"borodun","description":"Study on linux capabilities","archived":false,"fork":false,"pushed_at":"2021-05-21T12:22:41.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T07:45:29.887Z","etag":null,"topics":["linux","linux-capabilities"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borodun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-16T03:47:29.000Z","updated_at":"2021-11-26T13:08:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"aacc38c3-8b91-4939-a747-ecf0c5201e0a","html_url":"https://github.com/borodun/linux-capabilities","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/borodun/linux-capabilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodun%2Flinux-capabilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodun%2Flinux-capabilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodun%2Flinux-capabilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodun%2Flinux-capabilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borodun","download_url":"https://codeload.github.com/borodun/linux-capabilities/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodun%2Flinux-capabilities/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259763073,"owners_count":22907408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","linux-capabilities"],"created_at":"2024-11-21T04:58:20.844Z","updated_at":"2026-04-12T22:49:34.201Z","avatar_url":"https://github.com/borodun.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capshow\nPrints out info about capabilities\n## Building\nYou need libcap-dev\n```sh\n$ sudo apt-get install libcap-dev\n```\nThen compile using gcc\n```sh\n$ gcc capShow.c -o capshow -lcap\n```\n## Usage\nShow every capability of all threads\n```sh\n$ ./capshow\n```\nShow capabilities of particular process\n```sh\n$ ./capshow -p pid\n```\nShow readable version of capabilities\n```sh\n$ ./capshow -r\n```\n# capenv\nAn application locks itself, and all of its descendants, into an environment where the only way of gaining capabilities is by executing a program with associated file capabilities\n\n## Building\nYou need libcap-ng-dev\n```sh\n$ sudo apt-get install libcap-ng-dev\n```\nThen compile using gcc\n```sh\n$ gcc capEnviron.c -o capenv -lcap-ng\n```\n## Usage\n\nRun program with some capabilities\n```sh\n$ sudo ./capenv (capabilities_to_add ...) -p program_path program_args\n```\nRun programm without any capabilities\n```sh\n$ sudo ./capenv -p program_path program_args\n```\n## services\n\nServices were used for testing ways of manipulating capabilities of a program\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborodun%2Flinux-capabilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborodun%2Flinux-capabilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborodun%2Flinux-capabilities/lists"}