How to use functions from libs in /usr/local/lib in pam?

2003-07-21 Thread Ilmar S. Habibulin
I'm trying to write pam module, which uses libs from /usr/local/lib (lber and lsap). What should i put in Makefile in order to link module with this libs? LIBLDAP= /usr/local/lib/ldap.a LDADD+= -L/usr/local/lib -lldap LDFLAGS += -L/usr/local/lib -lldap DPADD= ${LIBCRYPT} ${LIBLDAP} doesn't help

Re: how can i wipeout swap pages?

2001-10-26 Thread Ilmar S. Habibulin
On Thu, 25 Oct 2001, Terry Lambert wrote: > To do what you want, which is to clean the backing pages, you Yes, i mean cleaning pages in the backing storage. > are better off doing it for all freed blocks, not just swap > blocks (if someone can read your swap, they can read other data > off you

how can i wipeout swap pages?

2001-10-24 Thread Ilmar S. Habibulin
I'm trying to implement wiping of freed swap pages inside swap_pager. I'm using 2.2-branch, here is my thoughts and steps: I have a (starting) block number of swapped page, i know page size, and i know that i have to use some pool of buffers inside kernel. So i get buffer with getpbuf(), then f