-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syscalls/ipc: Check that whether if kernel supports *_STAT_ANY
SHM_STAT_ANY,SEM_STAT_ANY and MSG_STAT_ANY are imported to linux in v4.17, and some linux distribution such as centos7.8 has backported this feature, so we should call *_STAT_ANY directly to detect whether kernel supports *_STAT_ANY. Also fix wrong TTERRNO usage. Reviewed-by: Yang Xu <xuyang2018.jy@fujitsu.com> Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com> Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
- Loading branch information
1 parent
24c3171
commit bd29c0e
Showing
3 changed files
with
34 additions
and
2 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
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
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