| 1843 | #ifdef COMPAT_FREEBSD32 |
| 1844 | |
| 1845 | int |
| 1846 | freebsd32_semsys(struct thread *td, struct freebsd32_semsys_args *uap) |
| 1847 | { |
| 1848 | |
| 1849 | #if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \ |
| 1850 | defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD7) |
| 1851 | AUDIT_ARG_SVIPC_WHICH(uap->which); |
| 1852 | switch (uap->which) { |
| 1853 | case 0: |
| 1854 | return (freebsd7_freebsd32_semctl(td, |
| 1855 | (struct freebsd7_freebsd32_semctl_args *)&uap->a2)); |
| 1856 | default: |
| 1857 | return (sys_semsys(td, (struct semsys_args *)uap)); |
| 1858 | } |
| 1859 | #else |
| 1860 | return (nosys(td, NULL)); |
| 1861 | #endif |
| 1862 | } |
| 1863 | |
| 1864 | #if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \ |
| 1865 | defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD7) |
nothing calls this directly
no test coverage detected