Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
https-github-com-bit
/
systemd
Public
forked from
adamlaska/systemd
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
systemd
src
basic
fileio.h
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 3, 2022
core: check size before mmap
Show description for 1a823cd
stoeckmann
authored and
poettering
committed
1a823cd
View commit details
Copy full SHA for 1a823cd
View code at this point
Browse repository at this point
Commits on Oct 11, 2021
fileio: add read_virtual_file_at() flavour that takes dir_fd/path pair
poettering
committed
6bfd44e
View commit details
Copy full SHA for 6bfd44e
View code at this point
Browse repository at this point
Commits on Oct 5, 2021
basic: move chase_symlinks_and_fopen_unlocked() → chase-symlinks.[ch]
poettering
authored and
bluca
committed
01bebba
View commit details
Copy full SHA for 01bebba
View code at this point
Browse repository at this point
Commits on Sep 29, 2021
fileio: introduce new mode to suppress writing the same value
gogsbread
authored and
yuwata
committed
e565cfd
View commit details
Copy full SHA for e565cfd
View code at this point
Browse repository at this point
fileio: introduce read_virtual_file_fd()
gogsbread
authored and
yuwata
committed
46a0f5c
View commit details
Copy full SHA for 46a0f5c
View code at this point
Browse repository at this point
Commits on Sep 21, 2021
smack: move helper function to smack-util.c
Show description for ce0458b
keszybz
committed
ce0458b
View commit details
Copy full SHA for ce0458b
View code at this point
Browse repository at this point
Commits on Aug 2, 2021
Use correct `<fcntl.h>` include
Show description for f8d54f7
SoapGentoo
authored and
keszybz
committed
f8d54f7
View commit details
Copy full SHA for f8d54f7
View code at this point
Browse repository at this point
Commits on Jul 8, 2021
fileio: optionally allow interpreting file size as limit
poettering
committed
7b0da71
View commit details
Copy full SHA for 7b0da71
View code at this point
Browse repository at this point
Commits on May 7, 2021
Merge pull request #18863 from keszybz/cmdline-escaping
Show description for 37ef2fc
poettering
authored
37ef2fc
View commit details
Copy full SHA for 37ef2fc
View code at this point
Browse repository at this point
fileio: optionally, return discovered path of file in search_and_fopen()
poettering
committed
2708160
View commit details
Copy full SHA for 2708160
View code at this point
Browse repository at this point
Commits on May 5, 2021
basic/fileio: add a mode to read_full_virtual_file() where not the whole file is read
keszybz
committed
ad0e687
View commit details
Copy full SHA for ad0e687
View code at this point
Browse repository at this point
Commits on Apr 14, 2021
fileio: introduce a new flag to make write_string_file() ignore trailing newline
Show description for 6873d20
yuwata
committed
6873d20
View commit details
Copy full SHA for 6873d20
View code at this point
Browse repository at this point
Commits on Mar 4, 2021
copy: move sync_rights() to copy.c and rename copy_rights()
Show description for bb72c43
poettering
authored and
bluca
committed
bb72c43
View commit details
Copy full SHA for bb72c43
View code at this point
Browse repository at this point
Commits on Dec 1, 2020
fileio: teach read_full_file_full() to read from offset/with maximum size
poettering
committed
986311c
View commit details
Copy full SHA for 986311c
View code at this point
Browse repository at this point
Commits on Nov 10, 2020
basic/fileio: constify struct timespec arguments
keszybz
committed
4d5f52e
View commit details
Copy full SHA for 4d5f52e
View code at this point
Browse repository at this point
Commits on Nov 9, 2020
license: LGPL-2.1+ -> LGPL-2.1-or-later
yuwata
committed
db9ecf0
View commit details
Copy full SHA for db9ecf0
View code at this point
Browse repository at this point
Commits on Nov 3, 2020
fileio: beef up READ_FULL_FILE_CONNECT_SOCKET to allow setting sender socket name
Show description for d3dcf4e
poettering
committed
d3dcf4e
View commit details
Copy full SHA for d3dcf4e
View code at this point
Browse repository at this point
Commits on Oct 21, 2020
Add WRITE_STRING_FILE_TRUNCATE to set O_TRUNC
averyvigolo
committed
6797a74
View commit details
Copy full SHA for 6797a74
View code at this point
Browse repository at this point
Commits on Oct 1, 2020
basic/fileio: add chase_symlinks_and_fopen_unlocked()
keszybz
committed
d338bff
View commit details
Copy full SHA for d338bff
View code at this point
Browse repository at this point
Commits on Jul 21, 2020
fileio: add brief explanations for flags
poettering
committed
3177b92
View commit details
Copy full SHA for 3177b92
View code at this point
Browse repository at this point
fileio: add support for read_full_file() on AF_UNIX stream sockets
Show description for b93d3f6
poettering
committed
b93d3f6
View commit details
Copy full SHA for b93d3f6
View code at this point
Browse repository at this point
fileio: add explicit flag for generating world executable warning when reading file
poettering
committed
f294470
View commit details
Copy full SHA for f294470
View code at this point
Browse repository at this point
Commits on May 27, 2020
fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label.
daandemeyer
committed
2da3dc6
View commit details
Copy full SHA for 2da3dc6
View code at this point
Browse repository at this point
fileio: Refactor sync_rights to take fds as arguments
daandemeyer
committed
90c8168
View commit details
Copy full SHA for 90c8168
View code at this point
Browse repository at this point
sysusers: Move sync_rights and rename_and_apply_smack to basic
daandemeyer
committed
494735f
View commit details
Copy full SHA for 494735f
View code at this point
Browse repository at this point
Commits on Apr 13, 2020
fileio: optionally allow telling read_line_full() whether we are processing a tty or not
poettering
committed
609ae0f
View commit details
Copy full SHA for 609ae0f
View code at this point
Browse repository at this point
Commits on Mar 31, 2020
fileio: add take_fdopendir() variant
Show description for f61457b
vcaputo
committed
f61457b
View commit details
Copy full SHA for f61457b
View code at this point
Browse repository at this point
fileio: introduce take_fdopen{_unlocked}() variant
Show description for 3ebbb6c
vcaputo
committed
3ebbb6c
View commit details
Copy full SHA for 3ebbb6c
View code at this point
Browse repository at this point
Commits on Dec 2, 2019
fileio: add WRITE_STRING_FILE_MODE_0600 flag for writing files
Show description for 95244ce
poettering
committed
95244ce
View commit details
Copy full SHA for 95244ce
View code at this point
Browse repository at this point
fileio: add 'dir_fd' parameter to read_full_file_full()
Show description for 8241f78
poettering
committed
8241f78
View commit details
Copy full SHA for 8241f78
View code at this point
Browse repository at this point
fileio: add an openat() flavour for fopen()
Show description for 0a38e6b
poettering
committed
0a38e6b
View commit details
Copy full SHA for 0a38e6b
View code at this point
Browse repository at this point
Commits on Oct 25, 2019
fileio: introduce read_full_virtual_file() for reading virtual files in sysfs, procfs
Show description for 21b40f1
fbuihuu
authored and
keszybz
committed
21b40f1
View commit details
Copy full SHA for 21b40f1
View code at this point
Browse repository at this point
Commits on May 8, 2019
fileio: add new WRITE_STRING_FILE_MKDIR_0755 flag for mkdir'ing parent
poettering
committed
50ccd86
View commit details
Copy full SHA for 50ccd86
View code at this point
Browse repository at this point
Commits on Apr 12, 2019
Merge pull request #12222 from yuwata/macsec
Show description for b51629a
poettering
authored
b51629a
View commit details
Copy full SHA for b51629a
View code at this point
Browse repository at this point
Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other tests
Show description for 673a1e6
keszybz
committed
673a1e6
View commit details
Copy full SHA for 673a1e6
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.