Coder Social home page Coder Social logo

libnss_nis's People

Contributors

aurel32 avatar fweimer-rh avatar kraj avatar thkukuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libnss_nis's Issues

Building error with rpcsvc/ypclnt.h: No such file or directory

There are including head file rpcsvc/ypclnt.h in c. files, such as nis-ethers.c. But no rpcsvc folder under src.
Also no rpc, netinet, arpa, sys.

#include <rpc/types.h>
#include <rpcsvc/ypclnt.h>

#include <netinet/in.h>
#include <arpa/inet.h>

#include <sys/param.h>

Build failure due to missing mapv4v6addr.h

Build errors with:

nis-hosts.c:39:10: fatal error: 'resolv/mapv4v6addr.h' file not found
#include <resolv/mapv4v6addr.h>
^~~~~~~~~~~~~~~~~~~~~~
This seems to be a private header, not installed by default in glibc.

[QUESTION] Is this package required to mDNSResponder by Apple on a Linux system?

I'm using a Linux embedded device with Yocto and I added mdns directly from Apple sources.
It contains a patch http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-protocols/mdns/files/0001-nss_mdns-Do-not-include-nss.h-when-libc-glibc.patch?h=master to bypass nss.

Is this package required to use mdns (fully implemented in a standard way to pass certification procedures) or is it optional?

thank you.

__libc_once unsafe

Hello,

f152663 made __libc_once to just set ONCE_CONTROL. This is not only non-portable (pthread_once_t is not necessarily an integer), but it is also completely unsafe: there is no guarantee of INIT_FUNCTION to be called only once if several threads call __libc_once. To keep things safe without depending on libpthread, pthread_once_t should be replaced by a structure containing an integer and a mutex, so that the mutex can be taken around the whole if. (libcs ususally provides hooks for pthread_mutex_lock/unlock)

Samuel

Fails to build with glibc 2.30

| ../../git/src/nis-hosts.c:235:21: error: use of undeclared identifier 'RES_USE_INET6'
|                         ((_res.options & RES_USE_INET6) ? AF_INET6 : AF_INET),
|                                          ^
| ../../git/src/nis-hosts.c:236:21: error: use of undeclared identifier 'RES_USE_INET6'
|                         ((_res.options & RES_USE_INET6) ? AI_V4MAPPED : 0 ));
|                                          ^
| ../../git/src/nis-hosts.c:355:21: error: use of undeclared identifier 'RES_USE_INET6'
|                         ((_res.options & RES_USE_INET6) ? AI_V4MAPPED : 0));
|                                          ^
| ../../git/src/nis-hosts.c:363:22: error: use of undeclared identifier 'RES_USE_INET6'
|   if (_res.options & RES_USE_INET6)
|                      ^
| ../../git/src/nis-hosts.c:437:27: error: use of undeclared identifier 'RES_USE_INET6'
|                               ((_res.options & RES_USE_INET6)
|                                                ^
| 5 errors generated.
| make[2]: *** [Makefile:682: nis-hosts.lo] Error 1

Raise version number past 2.26

For replacing the nss_nis module in glibc, we'd prefer if we could use a version number larger than 2.26, but we wouldn't want to override the upstream version. Would you be willing to make a new release, perhaps 2.99, or even 3.0?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.