Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pfinet: Also accept MSG_NOSIGNAL in udpv6_sendmsg | Samuel Thibault | 2023-08-31 | 1 | -1/+1 |
| | | | | The implementation is shared with IPv4 | ||||
* | pfinet: Get rid of u_int | Samuel Thibault | 2023-08-08 | 1 | -1/+1 |
| | |||||
* | pfinet: Fix x86_64 prototypes | Samuel Thibault | 2023-06-11 | 1 | -2/+2 |
| | |||||
* | pfinet: Add x86_64 checksum support | Samuel Thibault | 2023-05-29 | 2 | -0/+278 |
| | |||||
* | pfinet: Missing size_t/mach_msg_type_number_t fix | Samuel Thibault | 2023-05-28 | 1 | -2/+2 |
| | |||||
* | More prototypes fixes | Samuel Thibault | 2023-05-10 | 1 | -2/+2 |
| | |||||
* | Use uintptr_t for message payloads. | Flavio Cruz | 2023-05-02 | 1 | -2/+2 |
| | | | | | A follow up to 92fad38a043b75ed6b435b3efa574ede91dbe9ee in gnumach. Message-Id: <ZFCNasf9bJ9qj+CG@jupiter.tail36e24.ts.net> | ||||
* | Further modernize Hurd code by enforcing strict prototypes and no implicit ↵ | Flavio Cruz | 2023-04-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | function declarations. Most of the changes land in one of these buckets: * Removed unused declarations. * Used (void) to represent no parameters instead of () which means an undeterminate number of parameters. * Included missing header files whenever necessary (stdlib.h, sys/mman.h, etc) * Typedefed function pointers to be able to fully declare the parameter types. * Added declarations of library functions that are used elsewhere (example is libps/ps.h). * Made functions static whenever they are only used in that file. * Forwarded declarations of some methods that were made static. Message-Id: <ZDD1o7/tVYeZew+G@jupiter.tail36e24.ts.net> | ||||
* | Modernize code by removing use of old style definitions. | Flavio Cruz | 2023-04-03 | 6 | -8/+8 |
| | | | | | Also add -Werror=old-style-definition to enforce new code. Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net> | ||||
* | pfinet: Fix shifting left into bit 31 | Samuel Thibault | 2023-02-23 | 4 | -6/+6 |
| | |||||
* | pfinet: Align packets | Samuel Thibault | 2023-02-19 | 3 | -2/+28 |
| | | | | | | The Ethernet header is 14 bytes long, and thus leads to IP header misalignment. This uses skb_reserve to introduce 2 bytes of padding to realign IP headers. | ||||
* | pfinet: Fix using uninitialized value | Samuel Thibault | 2023-01-01 | 1 | -1/+1 |
| | |||||
* | Remove duplicate pfinet linux headers that have glue versions | Flavio Cruz | 2022-11-06 | 33 | -5044/+0 |
| | | | | Message-Id: <Y2NNAegVOKg/X7OC@viriathus> | ||||
* | pfinet: Fix warning | Samuel Thibault | 2022-09-22 | 1 | -4/+3 |
| | |||||
* | rioctl: Use r not i group ioctl for SIOCADDRT/SIOCDELRT | Damien Zammit | 2022-09-22 | 4 | -3/+8 |
| | | | | Message-Id: <20220922004105.961869-1-damien@zamaudio.com> | ||||
* | Use route.h from glibc | Samuel Thibault | 2022-09-21 | 3 | -43/+9 |
| | | | | | | Unfortunately the Linux source also uses <net/route.h>, so we have to both make that include the glibc-provided one, and avoid making it emit Linuxish definitions when they would conflict with glibc definitions. | ||||
* | Add new RPC for pfinet network routes | Damien Zammit | 2022-09-11 | 6 | -4/+214 |
| | | | | Message-Id: <20220909094234.517165-1-damien@zamaudio.com> | ||||
* | pfinet: Factorize preparing the route request | Samuel Thibault | 2022-08-29 | 1 | -71/+57 |
| | |||||
* | pfinet: Add SIOCADDRT and SIOCDELRT equivalent iioctls | Damien Zammit | 2022-08-29 | 2 | -100/+286 |
| | | | | | | | | | | | | | | | | | | | | | | | | Using a new client side <net/route.h> I was able to clean up the existing options.c in pfinet and add two new ioctls for adding/deleting network routes. /* move to bits/ioctl.h */ struct ifrtreq { char ifname[IFNAMSIZ]; in_addr_t rt_dest; in_addr_t rt_mask; in_addr_t rt_gateway; int rt_flags; int rt_metric; int rt_mtu; int rt_window; int rt_irtt; int rt_tos; int rt_class; }; Message-Id: <20220829102952.369798-1-damien@zamaudio.com> | ||||
* | Fix types of read write and readables methods | Etienne Brateau | 2022-08-29 | 3 | -16/+16 |
| | | | | Message-Id: <20220829193617.13481-1-etienne.brateau@gmail.com> | ||||
* | Drop ip_mreqn structure | Samuel Thibault | 2022-08-13 | 1 | -7/+0 |
| | | | | This is to be defined in the glibc header. | ||||
* | pfinet: Increase default max buffer size to 256k, like on Linux | Samuel Thibault | 2022-08-13 | 1 | -2/+2 |
| | |||||
* | Fix warning | Samuel Thibault | 2022-02-12 | 1 | -1/+1 |
| | | | | | * pfinet/socket-ops.c (S_socket_setopt): Cast data into char* before passing it to Linux' setsockopt which erroneously takes a char*. | ||||
* | Fix warning | Samuel Thibault | 2022-02-12 | 2 | -2/+2 |
| | | | | | | * pfinet/io-ops.c (S_io_write), pfinet/socket-ops.c (S_socket_send): Cast const void * pointer to void * when using it in struct iovec which always uses a void* even when writing. | ||||
* | Fix const warnings | Samuel Thibault | 2022-01-17 | 1 | -1/+1 |
| | | | | | Now that the RPCs have const, this forces us cleaning our const-meant functions. | ||||
* | Make RPC input array parameters const | Samuel Thibault | 2022-01-16 | 4 | -16/+16 |
| | | | | | This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side") | ||||
* | Fix build warnings | Samuel Thibault | 2022-01-01 | 4 | -8/+8 |
| | | | | No actual behavior change. | ||||
* | pfinet: Fix IPV6 option values | Samuel Thibault | 2022-01-01 | 1 | -2/+8 |
| | | | | | pfinet is providing the RFC2292 IPv6 options interface, not the RFC3542 interface, so we have to use the old option numbers here. | ||||
* | pfinet: fix a missed 'return' keyword. | Guy-Fleury Iteriteka | 2021-01-23 | 1 | -0/+2 |
| | | | | | | * pfinet/ethernet.c(ethernet_close): Add 'return 0;' at the end of function. Message-Id: <20210123221255.11791-2-gfleury@disroot.org> | ||||
* | pfinet: fix missed include files. | Guy-Fleury Iteriteka | 2021-01-23 | 1 | -1/+2 |
| | | | | | | * pfinet/glue-include/linux/socket.h: include '<string.h>' for 'memcpy' and '<stdlib.h>' for 'abort'. Message-Id: <20210123221255.11791-1-gfleury@disroot.org> | ||||
* | Remove remnants of cthreads | Samuel Thibault | 2020-11-11 | 1 | -1/+1 |
| | | | | | | | | | | * doc/hurd.texi: Index pthread.h instead of cthreads.h * libports/Makefile (SRCS): Drop stubs.c. * libports/stubs.c: Remove file. * mach-defpager/default_pager.c (default_pager): Drop disabled cthreads calls. * pfinet/kmem_cache.c: Fix comment. * proc/stubs.c: Fix comments. | ||||
* | Fix build with -fno-common | Samuel Thibault | 2020-03-31 | 2 | -7/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which will be the default in gcc-10. * acpi/acpifs.h (fs, acpifs_maptime): Add extern qualifier. * boot/private.h (verbose): Likewise. * eth-multiplexer/netfs_impl.h (multiplexer_maptime): Likewise. * eth-multiplexer/vdev.h (port_bucket, vdev_portclass): Likewise. * exec/priv.h (port_bucket, execboot_portclass): Likewise. * ext2fs/ext2fs.h (sblock, sblock_dirty, block_size, log2_block_size, log2_dev_blocks_per_fs_block, log2_stat_blocks_per_fs_block, zeroblock, frag_size, frags_per_block, inodes_per_block, itb_per_group, db_per_group, desc_per_block, addr_per_block, groups_count, node_to_page_lock, generation_lock, next_generation, group_desc_image, global_pokel, modified_global_blocks, use_xattr_translator_records): Likewise. * hostmux/hostmux.h (hostmux_maptime): Likewise. * isofs/isofs.h (host_name, mounted_on, disk_image, disk_image_len, logical_block_size, sblock): Likewise. * libdiskfs/diskfs.h (diskfs_shortcut_symlink, diskfs_shortcut_chrdev, diskfs_shortcut_blkdev, diskfs_shortcut_fifo, diskfs_shortcut_ifsock, diskfs_create_symlink_hook, diskfs_read_symlink_hook): Likewise. * libnetfs/callbacks.h (_netfs_translator_callback1, _netfs_translator_callback2): Likewise. * libnetfs/priv.h (netfs_mtime): Likewise. * libpager/priv.h (_pager_class): Likewise. * libtrivfs/trivfs.h (trivfs_check_access_hook, trivfs_check_open_hook, trivfs_open_hook, trivfs_protid_create_hook, trivfs_peropen_create_hook, trivfs_protid_destroy_hook, trivfs_peropen_destroy_hook, trivfs_getroot_hook): Likewise. * lwip/lwip-hurd.h (lwip_bucket, socketport_class, addrport_class, shutdown_notify_class, lwip_protid_portclasses, lwip_cntl_portclasses, lwip_bootstrap_portclass, fsys_identity, lwipcntl, lwip_owner, lwip_group): Likewise. * lwip/port/include/netif/hurdtunif.h (tunnel_cntlclass, tunnel_class): Likewise. * nfs/nfs.h (main_udp_socket, hostname, mapped_time): Likewise. * nfsd/nfsd.h (mapped_time, authserver): Likewise. * pci-arbiter/pcifs.h (fs, pcifs_maptime): Likewise. * pci-arbiter/startup.h (pci_shutdown_notify_class, arrange_shutdown_notification): Likewise. * pfinet/pfinet.h (pfinet_bucket, addrport_class, socketport_class, fsys_identity, pfinetctl, pfinet_owner, pfinet_group): Likewise. * pflocal/sserver.h (sock_port_bucket): Likewise. * proc/proc.h (authserver, self_proc, init_proc, startup_proc, proc_bucket, proc_class, generic_port_class, exc_class, generic_port, kernel_proc, global_lock): Likewise. * term/term.h (termstate, termflags, global_lock, carrier_alert, select_alert, pty_select_alert, term_bucket, tty_cntl_class, tty_class, cttyid_class, pty_class, pty_cntl_class, termctl, ptyctl, inputq, rawq, outputq, remote_input_mode, external_processing, term_owner, term_group, term_mode, bottom): Likewise. * usermux/usermux.h (usermux_maptime): Likewise. * utils/msgids.h (msgid_argp): Likewise. * libdiskfs/priv.h (_diskfs_mtime): Remove definition. * lwip/options.h (lwip_argp): Add prototype. * mach-defpager/priv.h (partitions): Name structure. (all_partitions): Add extern qualifier. * acpi/main.c (acpifs_maptime, fs): New variables. * exec/main.c (port_bucket, execboot_portclass): Likewise. * ext2fs/ext2fs.c (sblock, sblock_dirty, block_size, log2_block_size, log2_dev_blocks_per_fs_block, log2_stat_blocks_per_fs_block, frag_size, frags_per_block, inodes_per_block, itb_per_group, db_per_group, desc_per_block, addr_per_block, groups_count, next_generation, group_desc_image, global_pokel, use_xattr_translator_records): Likewise. * isofs/main.c (host_name, mounted_on, logical_block_size, sblock): Likewise. * libpager/pager-create.c (_pager_class): Likewise. * lwip/port/netif/hurdtunif.c (tunnel_cntlclass, tunnel_class): Likewise. * mach-defpager/default_pager.c (all_partitions): Likewise. * nfs/main.c (main_udp_socket, hostname, mapped_time): Likewise. * nfsd/main.c (mapped_time, authserver): Likewise. * pci-arbiter/main.c (fs, pcifs_maptime): Likewise. * pci-arbiter/startup.c (*pci_shutdown_notify_class): Likewise. * pfinet/main.c (pfinetctl, pfinet_owner, pfinet_group, pfinet_bucket, addrport_class, socketport_class, fsys_identity): Likewise. * proc/main.c (authserver, self_proc, init_proc, startup_proc, proc_bucket, proc_class, generic_port_class, exc_class, generic_port, kernel_proc, global_lock): Likewise. * term/main.c (termstate, termflags, global_lock, carrier_alert, select_alert, pty_select_alert, term_bucket, tty_cntl_class, tty_class, cttyid_class, pty_class, pty_cntl_class, termctl, ptyctl, outputq, remote_input_mode, external_processing, term_owner, term_group, term_mode, bottom): Likewise. * usermux/usermux.c (usermux_mapped_time): Rename to usermux_maptime. * lwip/main.c: Include "options.h". (lwip_argp, netif_list): Remove declarations. (lwip_bucket, socketport_class, addrport_class, shutdown_notify_class, lwip_cntl_portclasses, lwip_bootstrap_portclass, lwip_owner, lwip_group, fsys_identity, lwipcntl): New variables. * eth-multiplexer/multiplexer.c (multiplexer_maptime): Add variable. * hostmux/hostmux.c (hostmux_mapped_time): Rename variable to hostmux_maptime * libdiskfs/extra-version.c: Rename file to... * libdiskfs/priv.c: ... new file. (diskfs_shortcut_symlink, diskfs_shortcut_chrdev, diskfs_shortcut_blkdev, diskfs_shortcut_fifo, diskfs_shortcut_ifsock, diskfs_create_symlink_hook, diskfs_read_symlink_hook): Add weak variables. * libdiskfs/Makefile (OTHERSRCS): Replace extra-version.c with priv.c. * libtrivfs/priv.c: New file. * libtrivfs/Makefile (OTHERSRCS): Add priv.c * libcons/extra-version.c: Rename file to... * libcons/priv.c: ... new file. * libcons/Makefile (SRCS): Replace extra-version.c with priv.c. Fix build with # | ||||
* | pfinet: Fix build | Samuel Thibault | 2020-01-05 | 1 | -0/+1 |
| | | | | * pfinet/socket.c: Define _HACK_ERRNO_H to get a proper errno definition. | ||||
* | pfinet: Fix build | Samuel Thibault | 2020-01-05 | 1 | -6/+4 |
| | | | | | | | errno is also used by glue headers, so we can not actually check it * pfinet/io-ops.c (S_io_reauthenticate): Do not check that it's EINTR that make_sock_user failed with. | ||||
* | lwip,pfinet: Make S_io_reauthenticate return error | Samuel Thibault | 2020-01-05 | 1 | -1/+1 |
| | | | | | | * lwip/io-ops.c (lwip_S_io_reauthenticate): Return errno on make_sock_user returning an error. * pfinet/io-ops.c (S_io_reauthenticate): Likewise. | ||||
* | lwip,pfinet: Fix crash on make_sock_user getting EINTR | Samuel Thibault | 2020-01-05 | 2 | -2/+12 |
| | | | | | | | | | | | _ports_create_port_internal may return EINTR. * lwip/port-objs.c (make_sock_user): Set errno when ports_create_port returns an error. * pfinet/socket.c (make_sock_user): Likewise. * lwip/io-ops.c (lwip_S_io_reauthenticate): Loop while make_sock_user errors with EINTR. * pfinet/io-ops.c (S_io_reauthenticate): Likewise. | ||||
* | Use the data_t type defined in hurd_types.h. | Flavio Cruz | 2019-09-01 | 4 | -13/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * boot/boot.c: Replace char* with data_t. * console-client/trans.c: Likewise. * exec/exec.c: Likewise. * ext2fs/storeinfo.c: Likewise. * fatfs/inode.c: Likewise. * fatfs/main.c: Likewise. * isofs/inode.c: Likewise. * libdiskfs/boot-start.c: Likewise. * libdiskfs/dir-readdir.c: Likewise. * libdiskfs/file-exec.c: Likewise. * libdiskfs/file-get-fs-opts.c: Likewise. * libdiskfs/file-get-trans.c: Likewise. * libdiskfs/file-getfh.c: Likewise. * libdiskfs/file-set-trans.c: Likewise. * libdiskfs/fsys-forward.c: Likewise. * libdiskfs/fsys-getfile.c: Likewise. * libdiskfs/fsys-options.c: Likewise. * libdiskfs/io-read.c: Likewise. * libdiskfs/io-write.c: Likewise. * libnetfs/dir-readdir.c: Likewise. * libnetfs/file-exec.c: Likewise. * libnetfs/file-get-fs-options.c: Likewise. * libnetfs/file-get-storage-info.c: Likewise. * libnetfs/file-get-translator.c: Likewise. * libnetfs/file-set-translator.c: Likewise. * libnetfs/fsstubs.c: Likewise. * libnetfs/fsys-get-options.c: Likewise. * libnetfs/fsys-set-options.c: Likewise. * libnetfs/fsysstubs.c: Likewise. * libnetfs/io-read.c: Likewise. * libnetfs/io-write.c: Likewise. * libtrivfs/dir-readdir.c: Likewise. * libtrivfs/file-get-fs-options.c: Likewise. * libtrivfs/file-get-storage-info.c: Likewise. * libtrivfs/file-get-trans.c: Likewise. * libtrivfs/file-getfh.c: Likewise. * libtrivfs/file-set-trans.c: Likewise. * libtrivfs/fsys-forward.c: Likewise. * libtrivfs/fsys-get-options.c: Likewise. * libtrivfs/fsys-set-options.c: Likewise. * libtrivfs/fsys-stubs.c: Likewise. * libtrivfs/io-read.c: Likewise. * libtrivfs/io-write.c: Likewise. * pfinet/io-ops.c: Likewise. * pfinet/pfinet-ops.c: Likewise. * pfinet/socket-ops.c: Likewise. * pfinet/tunnel.c: Likewise. * pflocal/io.c: Likewise. * pflocal/pf.c: Likewise. * pflocal/socket.c: Likewise. * proc/info.c: Likewise. * startup/startup.c: Likewise. * storeio/io.c: Likewise. * term/users.c: Likewise. * tmpfs/node.c: Likewise. * trans/crash.c: Likewise. * trans/fakeroot.c: Likewise. * trans/fifo.c: Likewise. * trans/firmlink.c: Likewise. * trans/hello-mt.c: Likewise. * trans/hello.c: Likewise. * trans/mtab.c: Likewise. * trans/new-fifo.c: Likewise. * trans/null.c: Likewise. * trans/proxy-defpager.c: Likewise. * trans/streamio.c: Likewise. | ||||
* | Hurd patches (fix compilation) | Luca Weiss | 2018-06-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | * isofs/rr.c (rrip_work): Use gnu_dev_makedev instead of makedev. * libdiskfs/file-set-trans.c (diskfs_S_file_set_translator): Likewise. * libnetfs/file-set-translator.c (netfs_S_file_set_translator): Likeiwse. * nfs/nfs.c (xdr_decode_fattr): Likewise. * storeio/storeio.c (parse_opt): Likewise. * libfshelp/fetch-root.c (fshelp_short_circuited_callback1): Use gnu_dev_major and gnu_dev_minor instead of major and minor. * libnetfs/file-get-translator.c (netfs_S_file_get_translator): Likewise. * nfs/ops.c (netfs_attempt_link): Likewise. * storeio/storeio.c (trivfs_append_args): Likewise. * trans/fakeroot.c (netfs_attempt_mkdev): Likewise. * pfinet/glue-include/linux/mm.h: Include <mach/vm_param.h>. * term/users.c: Include <signal.h> | ||||
* | pfinet: Fix array size hardcoded value | Samuel Thibault | 2017-09-26 | 1 | -1/+1 |
| | | | | | | | as hinted by Joan Lledó * pfinet/iioctl-ops.c (get_dev): Set ifname size to IFNAMSIZ instead of hardcoded value | ||||
* | pfinet: Avoid returning udp errors unless requested | Samuel Thibault | 2017-09-26 | 1 | -21/+6 |
| | | | | | | | This comes from Linux 2.3.40 to 2.3.41 changes, to fix its behavior according to common practice. Unconnected udp sockets notably should not report errors, since the application doesn't have a way to relate it with previous sends. | ||||
* | pfinet: select UDP/TCP ports randomly | Samuel Thibault | 2017-09-10 | 6 | -21/+10 |
| | | | | | | | | | | | | | | * pfinet/linux-src/include/net/tcp.h (tcp_port_rover): Remove declaration * pfinet/linux-src/include/net/udp.h (udp_port_rover): Likewise. * pfinet/linux-src/net/ipv4/tcp_ipv4.c (tcp_port_rover): Remove variable. (tcp_v4_get_port): Take port hint from net_random() instead of tcp_port_rover. * pfinet/linux-src/net/ipv4/udp.c (udp_port_rover, udp_v4_get_port): Likewise. * pfinet/linux-src/net/ipv6/tcp_ipv6.c (tcp_v6_get_port): Likewise. * pfinet/linux-src/net/ipv6/udp_ipv6.c (udp_v6_get_port): Likewise. | ||||
* | Use our own variant of 'assert' and 'assert_perror'. | Justus Winter | 2017-08-05 | 11 | -41/+41 |
| | | | | | Our variants print stack traces on failures. This will make locating errors much easier. | ||||
* | pfinet: fix memory leak | Richard Braun | 2016-06-14 | 1 | -1/+5 |
| | | | | * pfinet/socket-ops.c (S_socket_recv): Unmap data on error. | ||||
* | Unify and document the way fsids are handled in trivfs translators | Justus Winter | 2016-04-28 | 1 | -1/+0 |
| | | | | | | | | * doc/hurd.texi: Clarify what happens if 'trivfs_fsid' is zero. * login/utmp.c: Leave 'trivfs_fsid' at zero. * pfinet/main.c: Likewise. * trans/ifsock.c: Likewise. * trans/proxy-defpager.c: Likewise. | ||||
* | Fix supporting >4GiB files in ext2fs | Samuel Thibault | 2016-04-26 | 1 | -1/+0 |
| | | | | | | | | | | * ext2fs/inode.c (diskfs_user_read_node): When sizeof(off_t) >= 8, add di->i_size_high as high-64bit part to st->st_size. Drop setting unused info->i_high_size. (write_node): When sizeof(off_t) >= 8, write high-64bit part of st->st_size to di->i_size_high. * ext2fs/ext2_fs_i.h (ext2_inode_info): Remove i_high_size field. * pfinet/linux-src/include/linux/ext2_fs_i.h (ext2_inode_info): Likewise. | ||||
* | Fix gcc signedness warnings | Samuel Thibault | 2016-01-14 | 1 | -1/+1 |
| | | | | | * pfinet/linux-src/include/linux/skbuff.h (__skb_pull): Return unsigned char * instead of char *. | ||||
* | Fix pfinet crash | Samuel Thibault | 2016-01-03 | 1 | -0/+3 |
| | | | | | | | | | | During rsyslog testsuite, it does happen that threads running schedule_timeout get woken up by something else than the timer. The (local) timer needs to be removed in that case. Let's just always remove it, like Linux does. * pfinet/glue-include/linux/sched.h (schedule_timeout): Remove local timer before returning. | ||||
* | Make private variables static | Samuel Thibault | 2016-01-03 | 1 | -2/+2 |
| | | | | * pfinet/timer-emul.c (timers, timer_thread): Make variables static. | ||||
* | allow pfinet to link using -O0 | Flavio Cruz | 2016-01-02 | 44 | -255/+238 |
| | | | | | This fixes a long list of undefined references when compiling with -O0 by using static instead of extern in header files. | ||||
* | Drop OTHERLIBS and use LDLIBS exclusively | Flavio Cruz | 2015-12-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When cross-compiling, OTHERLIBS magically turns -lpthread into the path to the host libpthread.so file, resulting in build issues. LDLIBS does not suffer from this problem and it seems that is already being used in other Makefiles. This patch removes OTHERLIBS entirely from the build system. * Makeconf: Remove references to OTHERLIBS * auth/Makefile: Replace OTHERLIBS with LDLIBS. * boot/Makefile: Likewise. * console/Makefile: Likewise. * exec/Makefile: Likewise. * ext2fs/Makefile: Likewise. * fatfs/Makefile: Likewise. * ftpfs/Makefile: Likewise. * hostmux/Makefile: Likewise. * isofs/Makefile: Likewise. * libhurd-slab/Makefile: Likewise. * nfs/Makefile: Likewise. * nfsd/Makefile: Likewise. * pfinet/Makefile: Likewise. * proc/Makefile: Likewise. * procfs/Makefile: Likewise. * random/Makefile: Likewise. * storeio/Makefile: Likewise. * term/Makefile: Likewise. * tmpfs/Makefile: Likewise. * usermux/Makefile: Likewise. |