Changeset cdf6024 in rtems-libbsd


Ignore:
Timestamp:
Oct 21, 2013, 11:57:22 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
9a3fa15
Parents:
d02c998
git-author:
Sebastian Huber <sebastian.huber@…> (10/21/13 11:57:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:49)
Message:

Add MAC support functions

WARNING: They are not thread-safe! This is a known FreeBSD issue.

Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rd02c998 rcdf6024  
    698698LIB_C_FILES += freebsd/lib/libc/net/recv.c
    699699LIB_C_FILES += freebsd/lib/libc/net/send.c
     700LIB_C_FILES += freebsd/lib/libc/posix1e/mac.c
    700701LIB_C_FILES += freebsd/lib/libc/resolv/h_errno.c
    701702LIB_C_FILES += freebsd/lib/libc/resolv/herror.c
  • freebsd-to-rtems.py

    rd02c998 rcdf6024  
    22152215                'lib/libc/net/recv.c',
    22162216                'lib/libc/net/send.c',
     2217                'lib/libc/posix1e/mac.c',
    22172218                'lib/libc/resolv/h_errno.c',
    22182219                'lib/libc/resolv/herror.c',
  • libbsd.txt

    rd02c998 rcdf6024  
    8484  Is this the only type of new section magic?  What about the old sysctl_set?
    8585  I added this to my linkcmds. 
     86
     87* MAC support functions are not thread-safe ("freebsd/lib/libc/posix1e/mac.c").
    8688
    8789[listing]
  • rtemsbsd/include/machine/rtems-bsd-symbols.h

    rd02c998 rcdf6024  
    357357#define sysctl_move_oid _bsd_sysctl_move_oid
    358358#define sysctl_msec_to_ticks _bsd_sysctl_msec_to_ticks
    359 #define sysctlnametomib _bsd_sysctlnametomib
    360359#define sysctl_register_oid _bsd_sysctl_register_oid
    361360#define sysctl_remove_oid _bsd_sysctl_remove_oid
Note: See TracChangeset for help on using the changeset viewer.