p1003_1b.c (172483) | p1003_1b.c (173600) |
---|---|
1/*- 2 * Copyright (c) 1996, 1997, 1998 3 * HD Associates, Inc. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 */ 32 33/* p1003_1b: Real Time common code. 34 */ 35 36#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1996, 1997, 1998 3 * HD Associates, Inc. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 */ 32 33/* p1003_1b: Real Time common code. 34 */ 35 36#include <sys/cdefs.h> |
37__FBSDID("$FreeBSD: head/sys/kern/p1003_1b.c 172483 2007-10-08 23:45:24Z jeff $"); | 37__FBSDID("$FreeBSD: head/sys/kern/p1003_1b.c 173600 2007-11-14 06:21:24Z julian $"); |
38 39#include "opt_posix.h" 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/kernel.h> 44#include <sys/lock.h> 45#include <sys/module.h> --- 12 unchanged lines hidden (view full) --- 58/* The system calls return ENOSYS if an entry is called that is not run-time 59 * supported. I am also logging since some programs start to use this when 60 * they shouldn't. That will be removed if annoying. 61 */ 62int 63syscall_not_present(struct thread *td, const char *s, struct nosys_args *uap) 64{ 65 log(LOG_ERR, "cmd %s pid %d tried to use non-present %s\n", | 38 39#include "opt_posix.h" 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/kernel.h> 44#include <sys/lock.h> 45#include <sys/module.h> --- 12 unchanged lines hidden (view full) --- 58/* The system calls return ENOSYS if an entry is called that is not run-time 59 * supported. I am also logging since some programs start to use this when 60 * they shouldn't. That will be removed if annoying. 61 */ 62int 63syscall_not_present(struct thread *td, const char *s, struct nosys_args *uap) 64{ 65 log(LOG_ERR, "cmd %s pid %d tried to use non-present %s\n", |
66 td->td_proc->p_comm, td->td_proc->p_pid, s); | 66 td->td_name, td->td_proc->p_pid, s); |
67 68 /* a " return nosys(p, uap); " here causes a core dump. 69 */ 70 71 return ENOSYS; 72} 73 74#if !defined(_KPOSIX_PRIORITY_SCHEDULING) --- 247 unchanged lines hidden --- | 67 68 /* a " return nosys(p, uap); " here causes a core dump. 69 */ 70 71 return ENOSYS; 72} 73 74#if !defined(_KPOSIX_PRIORITY_SCHEDULING) --- 247 unchanged lines hidden --- |