sysv_sem.c (193511) | sysv_sem.c (194832) |
---|---|
1/*- 2 * Implementation of SVID semaphores 3 * 4 * Author: Daniel Boulet 5 * 6 * This software is provided ``AS IS'' without any warranties of any kind. 7 */ 8/*- --- 23 unchanged lines hidden (view full) --- 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 */ 38 39#include <sys/cdefs.h> | 1/*- 2 * Implementation of SVID semaphores 3 * 4 * Author: Daniel Boulet 5 * 6 * This software is provided ``AS IS'' without any warranties of any kind. 7 */ 8/*- --- 23 unchanged lines hidden (view full) --- 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 */ 38 39#include <sys/cdefs.h> |
40__FBSDID("$FreeBSD: head/sys/kern/sysv_sem.c 193511 2009-06-05 14:55:22Z rwatson $"); | 40__FBSDID("$FreeBSD: head/sys/kern/sysv_sem.c 194832 2009-06-24 13:35:38Z jhb $"); |
41 42#include "opt_sysvipc.h" 43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/sysproto.h> 47#include <sys/eventhandler.h> 48#include <sys/kernel.h> --- 268 unchanged lines hidden (view full) --- 317 NULL 318}; 319 320SYSCALL_MODULE_HELPER(semsys); 321SYSCALL_MODULE_HELPER(__semctl); 322SYSCALL_MODULE_HELPER(semget); 323SYSCALL_MODULE_HELPER(semop); 324 | 41 42#include "opt_sysvipc.h" 43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/sysproto.h> 47#include <sys/eventhandler.h> 48#include <sys/kernel.h> --- 268 unchanged lines hidden (view full) --- 317 NULL 318}; 319 320SYSCALL_MODULE_HELPER(semsys); 321SYSCALL_MODULE_HELPER(__semctl); 322SYSCALL_MODULE_HELPER(semget); 323SYSCALL_MODULE_HELPER(semop); 324 |
325DECLARE_MODULE(sysvsem, sysvsem_mod, 326 SI_SUB_SYSV_SEM, SI_ORDER_FIRST); | 325DECLARE_MODULE(sysvsem, sysvsem_mod, SI_SUB_SYSV_SEM, SI_ORDER_FIRST); |
327MODULE_VERSION(sysvsem, 1); 328 329/* 330 * Entry point for all SEM calls. 331 */ 332int 333semsys(td, uap) 334 struct thread *td; --- 1014 unchanged lines hidden --- | 326MODULE_VERSION(sysvsem, 1); 327 328/* 329 * Entry point for all SEM calls. 330 */ 331int 332semsys(td, uap) 333 struct thread *td; --- 1014 unchanged lines hidden --- |