History log of /haiku/src/libs/compat/freebsd_network/priv.cpp
Revision Date Author Comments
# 91337da6 23-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

freebsd_network: Avoid using kernel thread structures in priv_check.

We can just use geteuid() here which does the exact same thing.
May help with testing #17337.


# dba28784 24-Dec-2018 Augustin Cavalier <waddlesplash@gmail.com>

freebsd11_network -> freebsd_network.

FreeBSD 12 has no major changes to the ifnet KPIs that constitute a
source compatibility break, save a single one related to locking
which doesn't really apply to us, and so we don't need to create
a "freebsd12_network" directory to work through the upgrades.


# 76c4f839 15-Dec-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* priv.c -> priv.cpp
* Defined curthread to NULL. Using Haiku's struct thread is not acceptable
without proper locking and the only purpose ATM is to pass it to priv_check()
which ignores it anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39858 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 76c4f8396524f83538317b785b66ca1e591f18c3 15-Dec-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* priv.c -> priv.cpp
* Defined curthread to NULL. Using Haiku's struct thread is not acceptable
without proper locking and the only purpose ATM is to pass it to priv_check()
which ignores it anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39858 a95241bf-73f2-0310-859d-f6bbb57e9c96