/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
.../libc/yp/
..
Makefile.inc

there is no function called ypclnt(3), but yp_bind(3) exists...

7 лет назад
_yp_check.c

Wrap _yp_check() and _yp_unbind() so internal calls go direct and they're weak

11 лет назад
xdr_domainname.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_keydat.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_mapname.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_peername.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_valdat.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypbind_binding.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypbind_resp.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypbind_resptype.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypbind_setdom.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypmaplist.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypreq_key.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypreq_nokey.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypresp_all.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypresp_key_val.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypresp_maplist.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypresp_master.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypresp_order.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypresp_val.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
xdr_ypstat.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
yp_all.c

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
yp_bind.3

grammar fixes from Varik "The Genuine Article!!!" Valefor;

6 лет назад
yp_bind.c

When getpwnam(3) reaches out to YP, it calls clntudp_create(3) with a pre-initialized ypconnect(2) socket. That calls clntudp_bufcreate(), which contains code checking if the socket and address are configured.. If not, socket(2) is called, or an address allocation is performed via the portmapper (which calls a whole lot more code).

3 года назад
yp_first.c

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
yp_get_default_domain.c

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
yp_maplist.c

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
yp_master.c

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
yp_order.c

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
yperr_string.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
ypexclude.c

All these files include <stdlib.h>, so do not need to cast malloc/calloc/realloc* returns.

11 лет назад
ypexclude.h

Stop publicly declaring _yp_dobind() and struct dom_binding, closing out a rant Theo wrote 24 years ago. Mark __ypexclude_{add,is,free}() as hidden

10 лет назад
ypinternal.h

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
ypmatch_cache.c

1) The yp_bind/yp_unbind and internal _yp_dobind/_yp_unbind sequences shared dom_binding structs between threads, which is unsafe -- example, dom_vers signalled retry events, and structs+socket would get deallocated in _yp_unbind. Change all yp_first (and similar) functions to understand that _yp_dobind now provides a private dom_binding and socket, which must be released using _yp_unbind. Use similar methods in the one-step yp_all function. 2) domainname caching in get* is not neccessary now that the domainname cannot change relative to ypconnect(2)'s decisions. Many fields in dom_binding struct become unused, so delete them. ok jmatthew, also tested by miod

4 года назад
ypprot_err.c

Wrap <rpcsvc/ypclnt.h> so that calls go direct and the symbols are all weak

11 лет назад