Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT.
	* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
	Patch by Davide Libenzi.
  • Loading branch information
Ulrich Drepper committed Jan 21, 2004
1 parent debddf6 commit e11676d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2004-01-20 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT.
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
Patch by Davide Libenzi.

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_NO_CLONE_DETACHED for 2.6.2+ kernels.

Expand Down
4 changes: 3 additions & 1 deletion sysdeps/unix/sysv/linux/sys/epoll.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -45,6 +45,8 @@ enum EPOLL_EVENTS
#define EPOLLERR EPOLLERR
EPOLLHUP = 0x010,
#define EPOLLHUP EPOLLHUP
EPOLLONESHOT = (1 << 30),
#define EPOLLONESHOT EPOLLONESHOT
EPOLLET = (1 << 31)
#define EPOLLET EPOLLET
};
Expand Down
4 changes: 3 additions & 1 deletion sysdeps/unix/sysv/linux/x86_64/sys/epoll.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -45,6 +45,8 @@ enum EPOLL_EVENTS
#define EPOLLERR EPOLLERR
EPOLLHUP = 0x010,
#define EPOLLHUP EPOLLHUP
EPOLLONESHOT = (1 << 30),
#define EPOLLONESHOT EPOLLONESHOT
EPOLLET = (1 << 31)
#define EPOLLET EPOLLET
};
Expand Down

0 comments on commit e11676d

Please sign in to comment.