ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/src/trunk/lib
Revision 3409 - Directory Listing - [select for diffs]
Modified Sun May 30 03:03:24 2010 UTC (13 years, 11 months ago) by laffer1
Diff to previous 3408 , to selected 311
remove debug statement

Revision 3408 - Directory Listing - [select for diffs]
Modified Sun May 30 03:02:12 2010 UTC (13 years, 11 months ago) by laffer1
Diff to previous 3406 , to selected 311
While this is mostly unnecessary, let's allocate memory in many cases with calloc for now. It will make finding bugs that much easier since we're guaranteed to have the memory zerod.

Revision 3406 - Directory Listing - [select for diffs]
Modified Thu May 27 13:55:02 2010 UTC (13 years, 11 months ago) by laffer1
Diff to previous 3402 , to selected 311
The nfsclient didn't validate the length of the path passed to it.  This could cause code execution particularly when users are allowed to mount file systems.

Revision 3402 - Directory Listing - [select for diffs]
Modified Wed May 5 20:37:05 2010 UTC (14 years ago) by laffer1
Diff to previous 3401 , to selected 311
blast blast

Revision 3401 - Directory Listing - [select for diffs]
Modified Wed May 5 20:36:40 2010 UTC (14 years ago) by laffer1
Diff to previous 3400 , to selected 311
yuckers

Revision 3400 - Directory Listing - [select for diffs]
Modified Wed May 5 20:36:19 2010 UTC (14 years ago) by laffer1
Diff to previous 3399 , to selected 311
visual pascal is even worse

Revision 3399 - Directory Listing - [select for diffs]
Modified Wed May 5 20:10:27 2010 UTC (14 years ago) by laffer1
Diff to previous 3398 , to selected 311
we don't do pascal

Revision 3398 - Directory Listing - [select for diffs]
Modified Wed May 5 19:31:24 2010 UTC (14 years ago) by laffer1
Diff to previous 3397 , to selected 311
remove garbage

Revision 3397 - Directory Listing - [select for diffs]
Modified Wed May 5 19:28:11 2010 UTC (14 years ago) by laffer1
Diff to previous 3396 , to selected 311
Zlib 1.2.5 with symbol/versioning and reverting FREEBSD-upgrade from the last commit

Revision 3396 - Directory Listing - [select for diffs]
Modified Wed May 5 18:46:22 2010 UTC (14 years ago) by vganji
Diff to previous 3395 , to selected 311
UPdate libz to latest version

Revision 3395 - Directory Listing - [select for diffs]
Modified Tue May 4 21:41:55 2010 UTC (14 years ago) by vganji
Diff to previous 3385 , to selected 311
Update the Makefile to match the FreeBSD changes

Revision 3385 - Directory Listing - [select for diffs]
Modified Sun Mar 21 20:04:23 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3384 , to selected 311
Update upgrade instructions, remove examples

Revision 3384 - Directory Listing - [select for diffs]
Modified Sun Mar 21 20:02:35 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3383 , to selected 311
remove files that shouldn't have been imported here

Revision 3383 - Directory Listing - [select for diffs]
Modified Sun Mar 21 20:01:16 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3382 , to selected 311
Remove files I shouldn't have imported from this branch

Revision 3382 - Directory Listing - [select for diffs]
Modified Sun Mar 21 19:57:34 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3380 , to selected 311
Resolve conflicts

Revision 3380 - Directory Listing - [select for diffs]
Modified Sun Mar 21 19:52:04 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3361 , to selected 311
This commit was generated by cvs2svn to compensate for changes in r3379,
which included commits to RCS files with non-trunk default branches.
Revision 3361 - Directory Listing - [select for diffs]
Modified Sat Mar 13 02:47:58 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3360 , to selected 311
a few subtle fixes with fd handling.  Technically open returns a fd that's not negative.

Revision 3360 - Directory Listing - [select for diffs]
Modified Sat Mar 13 02:39:52 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3359 , to selected 311
yet more const char*

Revision 3359 - Directory Listing - [select for diffs]
Modified Sat Mar 13 02:33:48 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3358 , to selected 311
fix more warnings with const char* issues

Revision 3358 - Directory Listing - [select for diffs]
Modified Sat Mar 13 01:42:55 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3357 , to selected 311
Fix a few compiler warnings.

Revision 3357 - Directory Listing - [select for diffs]
Modified Sat Mar 13 00:57:30 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3356 , to selected 311
lets fix one compiler warning

Revision 3356 - Directory Listing - [select for diffs]
Modified Fri Mar 12 13:02:54 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3353 , to selected 311
I forgot to check for SQLITE_OK like the original code did in the success case.. duh

Revision 3353 - Directory Listing - [select for diffs]
Modified Fri Mar 12 03:59:44 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3342 , to selected 311
We're getting weird locking errors sometimes.  If the sqlite call is "busy" or "locked", try the operation again.  It could be a temporary problem from another process or a time consuming operation.

Revision 3342 - Directory Listing - [select for diffs]
Modified Wed Mar 10 05:28:05 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3331 , to selected 311
finalize was getting called before we evaluated the column.  This was causing a seg fault on the new version of sqlite.  I'm surprised we didn't see this sooner.

Revision 3331 - Directory Listing - [select for diffs]
Modified Wed Mar 10 04:21:10 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3330 , to selected 311
update ffi.h

Revision 3330 - Directory Listing - [select for diffs]
Modified Wed Mar 10 04:18:22 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3289 , to selected 311
update pc file

Revision 3289 - Directory Listing - [select for diffs]
Modified Thu Mar 4 01:02:02 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3288 , to selected 311
On second thought, let's try to sort the output.

Revision 3288 - Directory Listing - [select for diffs]
Modified Thu Mar 4 00:58:52 2010 UTC (14 years, 2 months ago) by laffer1
Diff to previous 3287 , to selected 311
Add a new list method so we can fetch all installed ports!

Revision 3287 - Directory Listing - [select for diffs]
Modified Wed Feb 10 01:33:40 2010 UTC (14 years, 3 months ago) by laffer1
Diff to previous 3286 , to selected 311
Fix stats printing of the amount of memory currently consumed by huge
allocations. [1]

Fix calculation of the number of arenas when 'n' is specified via
MALLOC_OPTIONS.

Clean up various style inconsistencies.

Obtained from:	[1] NetBSD, FreeBSD

Revision 3286 - Directory Listing - [select for diffs]
Modified Wed Feb 10 01:10:06 2010 UTC (14 years, 3 months ago) by laffer1
Diff to previous 3276 , to selected 311
This is more correct and fixes a bug in some locales

Revision 3276 - Directory Listing - [select for diffs]
Modified Sat Feb 6 06:25:31 2010 UTC (14 years, 3 months ago) by laffer1
Diff to previous 3256 , to selected 311
Temporarily remove the pc file when building lib32.  This should unbreak the world on amd64.

Revision 3256 - Directory Listing - [select for diffs]
Modified Sat Jan 16 17:40:19 2010 UTC (14 years, 4 months ago) by laffer1
Diff to previous 3252 , to selected 311
BIND 9.6.1-P2

Revision 3252 - Directory Listing - [select for diffs]
Modified Sat Jan 16 16:57:06 2010 UTC (14 years, 4 months ago) by laffer1
Diff to previous 3230 , to selected 311
Bind 9.6.1-P2

Revision 3230 - Directory Listing - [select for diffs]
Modified Sun Jan 10 18:40:55 2010 UTC (14 years, 4 months ago) by laffer1
Diff to previous 3227 , to selected 311
Document the new EV_DISPATCH and EV_RECEIPT.

Revision 3227 - Directory Listing - [select for diffs]
Modified Sun Jan 10 18:29:51 2010 UTC (14 years, 4 months ago) by laffer1
Diff to previous 3226 , to selected 311
Oops... forgot the implementation

Revision 3226 - Directory Listing - [select for diffs]
Modified Sun Jan 10 18:29:20 2010 UTC (14 years, 4 months ago) by laffer1
Diff to previous 3219 , to selected 311
Create a new MidnightBSD symbol namespace.  This will include additions and extensions not found in the legacy FBSD_1.0 space. Unless we happen to add symbols for compatibility with newer freebsd 7.x versions, this old FBSD stuff should not be used.  I have not created a private symbol yet.

Add posix spawn related functions to libc.  posix_spawn(3) and friends can replace fork and exec in some situations and have been in the specification since 1999.  Many operating systems do not yet implement them as they do not provide any benefit in terms of performance when systems use MMU.  glibc implements them as well as FreeBSD 8, DragonFly current, Mac OS X Snow Leopard. It's time.

We've used the FreeBSD 8 versions with little change here. This is one of the many requirements for libdispatch.  (mostly for test suite apps)

Revision 3219 - Directory Listing - [select for diffs]
Modified Tue Dec 29 18:58:48 2009 UTC (14 years, 4 months ago) by laffer1
Diff to previous 3199 , to selected 311
In this case, it's safe to use strcpy.  Avoid the extra strlen call

Revision 3199 - Directory Listing - [select for diffs]
Modified Sat Nov 28 22:44:36 2009 UTC (14 years, 5 months ago) by laffer1
Diff to previous 3196 , to selected 311
Import OpenBSD's sysctl sensors framework.  This is based on work by Constantine A. Murenin for the 2007 Google summer of code for FreeBSD.

Includes:
sample config file for sensord
rc scripts
documentation fixes and updates
sys/kern/kern_sensors.c
sys/sensors.h

This is compatible with OpenBSD 4.1 and 4.2 in terms of the userland bits.

Revision 3196 - Directory Listing - [select for diffs]
Modified Fri Nov 27 20:51:25 2009 UTC (14 years, 5 months ago) by laffer1
Diff to previous 3166 , to selected 311
Add the pthread_condattr_init and pthread_condattr_destroy symbols to libc.  This will be required for future versions of dbus to function properly on MidnightBSD.

Based on a FreeBSD patch by Joe Marcus Clarke.

Revision 3166 - Directory Listing - [select for diffs]
Modified Thu Nov 26 14:30:47 2009 UTC (14 years, 5 months ago) by laffer1
Diff to previous 3165 , to selected 311
remove ia64 + powerpc

Revision 3165 - Directory Listing - [select for diffs]
Modified Thu Nov 26 14:30:10 2009 UTC (14 years, 5 months ago) by laffer1
Diff to previous 3157 , to selected 311
we don't support the itanic

Revision 3157 - Directory Listing - [select for diffs]
Modified Tue Nov 17 01:47:51 2009 UTC (14 years, 6 months ago) by laffer1
Diff to previous 3155 , to selected 311
Fix a silly bug reported by bsdgurl in IRC.

Revision 3155 - Directory Listing - [select for diffs]
Modified Sat Oct 31 21:42:36 2009 UTC (14 years, 6 months ago) by laffer1
Diff to previous 3052 , to selected 311
Switch over to uint32_t, the preferred type.

Revision 3052 - Directory Listing - [select for diffs]
Modified Sun Oct 4 05:34:58 2009 UTC (14 years, 7 months ago) by laffer1
Diff to previous 3049 , to selected 311
calloc is no longer used in calloc.c.. it's now in malloc.c

Revision 3049 - Directory Listing - [select for diffs]
Modified Fri Oct 2 13:24:40 2009 UTC (14 years, 7 months ago) by laffer1
Diff to previous 3047 , to selected 311
Don't report error if key was deleted.

Obtained from: FreeBSD
http://www.freebsd.org/cgi/query-pr.cgi?pr=135462

Revision 3047 - Directory Listing - [select for diffs]
Modified Fri Oct 2 13:20:11 2009 UTC (14 years, 7 months ago) by laffer1
Diff to previous 3030 , to selected 311
pthread_mutexattr_settype is failing for many cases due to an incorrect stub in libc.

Obtained from: FreeBSD, Joe Marcus Clarke

Revision 3030 - Directory Listing - [select for diffs]
Modified Sat Jul 11 11:25:15 2009 UTC (14 years, 10 months ago) by laffer1
Diff to previous 3028 , to selected 311
add pkgconfig file

Revision 3028 - Directory Listing - [select for diffs]
Modified Sun Jun 14 21:18:47 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 3027 , to selected 311
Fix path

Revision 3027 - Directory Listing - [select for diffs]
Modified Sun Jun 14 21:16:34 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 3016 , to selected 311
add missing header

Revision 3016 - Directory Listing - [select for diffs]
Modified Tue Jun 9 00:48:55 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 3015 , to selected 311
install the man pages.  We still need to finish includes and pc file

Revision 3015 - Directory Listing - [select for diffs]
Modified Mon Jun 8 19:28:44 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 3014 , to selected 311
Chnage order libmport is built in since we need sqlite sooner.

Revision 3014 - Directory Listing - [select for diffs]
Modified Mon Jun 8 01:50:50 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 3000 , to selected 311
Step one of libffi.  This is a partially working environment.  (i386 only for now)

The library compiles but we're not dealing with man pages, installing include files into /usr/include or other architectures.

It is not connected to the build.

Revision 3000 - Directory Listing - [select for diffs]
Modified Sat Jun 6 21:52:41 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 2994 , to selected 311
MFC: Fix for meta port packages with base bundle.

Revision 2994 - Directory Listing - [select for diffs]
Modified Fri Jun 5 00:22:17 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 2991 , to selected 311
comment out mport_upgrade function as that isn't 100% ready

Revision 2991 - Directory Listing - [select for diffs]
Modified Fri Jun 5 00:02:22 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 2989 , to selected 311
Upgrade to latest snap from github.

Revision 2989 - Directory Listing - [select for diffs]
Modified Sun May 31 17:51:52 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 2953 , to selected 311
connect libmport to the build

Revision 2953 - Directory Listing - [select for diffs]
Modified Tue May 26 01:23:47 2009 UTC (14 years, 11 months ago) by laffer1
Diff to previous 2845 , to selected 311
$MidnightBSD$

Revision 2845 - Directory Listing - [select for diffs]
Modified Wed Apr 22 18:31:07 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2840 , to selected 311
just use calloc everywhere

Revision 2840 - Directory Listing - [select for diffs]
Modified Fri Apr 17 23:48:13 2009 UTC (15 years, 1 month ago) by ctriv
Diff to previous 2835 , to selected 311
add missing update primative.

Revision 2835 - Directory Listing - [select for diffs]
Modified Thu Apr 16 02:45:01 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2834 , to selected 311
tag

Revision 2834 - Directory Listing - [select for diffs]
Modified Thu Apr 16 02:43:37 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2784 , to selected 311
introduce a Symbol.map for ohash

Revision 2784 - Directory Listing - [select for diffs]
Modified Tue Apr 14 20:42:54 2009 UTC (15 years, 1 month ago) by ctriv
Diff to previous 2754 , to selected 311
Sync with the current devel version of libmport.

Revision 2754 - Directory Listing - [select for diffs]
Modified Sat Apr 11 00:59:58 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2664 , to selected 311
remove arm/ia64/ppc bits

Revision 2664 - Directory Listing - [select for diffs]
Modified Fri Mar 27 19:38:20 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2658 , to selected 311
Update libarchive, sync with some features from google code repo 1.6.2 and freebsd RELENG_7 as of today.

Revision 2658 - Directory Listing - [select for diffs]
Modified Wed Mar 25 19:23:09 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2657 , to selected 311
update for 9.4.3

Revision 2657 - Directory Listing - [select for diffs]
Modified Wed Mar 25 19:13:18 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2636 , to selected 311
update for bind 9.4.3

Revision 2636 - Directory Listing - [select for diffs]
Modified Mon Mar 23 02:48:35 2009 UTC (15 years, 2 months ago) by ctriv
Diff to previous 2627 , to selected 311
install the pkgconfig file.

Revision 2627 - Directory Listing - [select for diffs]
Modified Thu Mar 19 15:42:58 2009 UTC (15 years, 2 months ago) by ctriv
Diff to previous 2626 , to selected 311
get the linking right.

Revision 2626 - Directory Listing - [select for diffs]
Modified Thu Mar 19 15:07:58 2009 UTC (15 years, 2 months ago) by ctriv
Diff to previous 2623 , to selected 311
build a thread safe libsqlite3.

Revision 2623 - Directory Listing - [select for diffs]
Modified Mon Mar 16 16:27:46 2009 UTC (15 years, 2 months ago) by laffer1
Diff to previous 2622 , to selected 311
add string.h to deal with previous commit.

Revision 2622 - Directory Listing - [select for diffs]
Modified Mon Mar 16 16:23:37 2009 UTC (15 years, 2 months ago) by laffer1
Diff to previous 2502 , to selected 311
Fix information leakage.  Some jackass didn't use -DPURIFY which lets the code run memset.  So uninitialized memory is written to db files all over the system.

Revision 2502 - Directory Listing - [select for diffs]
Modified Sun Jan 4 23:50:23 2009 UTC (15 years, 4 months ago) by laffer1
Diff to previous 2486 , to selected 311
bump shared lib version, switch to new world order.

Revision 2486 - Directory Listing - [select for diffs]
Modified Fri Jan 2 00:48:41 2009 UTC (15 years, 4 months ago) by laffer1
Diff to previous 2482 , to selected 311
geeze, fix the build/install of liblwres

Revision 2482 - Directory Listing - [select for diffs]
Modified Wed Dec 31 16:40:09 2008 UTC (15 years, 4 months ago) by ctriv
Diff to previous 2473 , to selected 311
add strndup()

Revision 2473 - Directory Listing - [select for diffs]
Modified Sat Dec 13 22:53:26 2008 UTC (15 years, 5 months ago) by laffer1
Diff to previous 2472 , to selected 311
Install to /lib instead of /usr/lib.  When including bsd.own.mk, you must override this first.

Revision 2472 - Directory Listing - [select for diffs]
Modified Sat Dec 13 22:51:06 2008 UTC (15 years, 5 months ago) by laffer1
Diff to previous 2374 , to selected 311
$MidnightBSD$, remove arm

Revision 2374 - Directory Listing - [select for diffs]
Modified Sat Dec 6 03:05:38 2008 UTC (15 years, 5 months ago) by laffer1
Diff to previous 2373 , to selected 311
stdint should always be set

Revision 2373 - Directory Listing - [select for diffs]
Modified Sat Dec 6 03:03:21 2008 UTC (15 years, 5 months ago) by laffer1
Diff to previous 2108 , to selected 311
Document the __MidnightBSD_version

Revision 2108 - Directory Listing - [select for diffs]
Modified Thu Nov 20 15:41:06 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 2107 , to selected 311
 ' ' sucks.

Revision 2107 - Directory Listing - [select for diffs]
Modified Thu Nov 20 15:31:28 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 2011 , to selected 311
Add flopen and expand_number. Bump library revision

Revision 2011 - Directory Listing - [select for diffs]
Modified Tue Nov 11 20:36:12 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 2004 , to selected 311
*** empty log message ***

Revision 2004 - Directory Listing - [select for diffs]
Modified Tue Nov 11 17:37:15 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 2003 , to selected 311
Typo

Revision 2003 - Directory Listing - [select for diffs]
Modified Tue Nov 11 16:52:12 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 2002 , to selected 311
Fix typo

Revision 2002 - Directory Listing - [select for diffs]
Modified Tue Nov 11 16:49:48 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 2001 , to selected 311
new world order

Revision 2001 - Directory Listing - [select for diffs]
Modified Tue Nov 11 16:38:05 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1959 , to selected 311
 new world order

Revision 1959 - Directory Listing - [select for diffs]
Modified Fri Oct 31 20:32:46 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1956 , to selected 311
add librt and gssapi

Revision 1956 - Directory Listing - [select for diffs]
Modified Fri Oct 31 19:16:18 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1953 , to selected 311
Remove some old libs that we don't need anymore.

Revision 1953 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:57:20 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1952 , to selected 311
Merge changes.

Revision 1952 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:56:32 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1951 , to selected 311
Remove arm

Revision 1951 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:52:49 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1950 , to selected 311
merge changes

Revision 1950 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:51:25 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1949 , to selected 311
Remove alpha

Revision 1949 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:50:10 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1948 , to selected 311
Remove arm/ppc stuff

Revision 1948 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:47:52 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1947 , to selected 311
Merge changes.

Revision 1947 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:38:23 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1946 , to selected 311
Merge changes.

Revision 1946 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:37:58 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1945 , to selected 311
merge changes

Revision 1945 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:32:40 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1944 , to selected 311
Remove unsupported architectures.

Revision 1944 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:26:54 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1943 , to selected 311
Merge changes.  Remove pc98, ia64, ppc support

Revision 1943 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:14:04 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1942 , to selected 311
Merge changes.

Revision 1942 - Directory Listing - [select for diffs]
Modified Thu Oct 30 21:07:59 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1941 , to selected 311
merge changes.

Revision 1941 - Directory Listing - [select for diffs]
Modified Thu Oct 30 20:59:40 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1940 , to selected 311
merge changes.

Revision 1940 - Directory Listing - [select for diffs]
Modified Thu Oct 30 20:52:19 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1939 , to selected 311
Merge changes

Revision 1939 - Directory Listing - [select for diffs]
Modified Thu Oct 30 20:39:11 2008 UTC (15 years, 6 months ago) by laffer1
Diff to previous 1935 , to selected 311
This commit was generated by cvs2svn to compensate for changes in r1938,
which included commits to RCS files with non-trunk default branches.
Revision 1935 - Directory Listing - [select for diffs]
Modified Sun Oct 19 23:43:47 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1924 , to selected 311
Continue the merge, sync FreeBSD changes while keeping enhancements

Revision 1924 - Directory Listing - [select for diffs]
Modified Sun Oct 5 18:18:58 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1914 , to selected 311
update procedure:

cd /usr/src; cvs update -d
cd share/mk; make install
cd ../../lib/ncurses
make  (you'll get errors)
make install
make
make install

Revision 1914 - Directory Listing - [select for diffs]
Modified Thu Oct 2 17:05:38 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1913 , to selected 311
*** empty log message ***

Revision 1913 - Directory Listing - [select for diffs]
Modified Thu Oct 2 16:56:52 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1912 , to selected 311
update libthr

Revision 1912 - Directory Listing - [select for diffs]
Modified Thu Oct 2 16:50:25 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1911 , to selected 311
Remove libpthread damn it

Revision 1911 - Directory Listing - [select for diffs]
Modified Thu Oct 2 16:47:39 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1910 , to selected 311
 * Change default shared lib version.
 * Fix comment for ncurses.

Revision 1910 - Directory Listing - [select for diffs]
Modified Thu Oct 2 02:01:58 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1909 , to selected 311
Move libpthread to libkse.  Prepare to set libthr as the default threading library.

Move libncurses to ncurses.  Prepare to import a newer version of ncurses.

Revision 1909 - Directory Listing - [select for diffs]
Modified Thu Oct 2 01:14:29 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1902 , to selected 311
Remove arm, ia64, powerpc code

Revision 1902 - Directory Listing - [select for diffs]
Modified Wed Oct 1 16:28:07 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1900 , to selected 311
remove arm and ia64 arch support.

Revision 1900 - Directory Listing - [select for diffs]
Modified Tue Sep 30 23:54:16 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1899 , to selected 311
update libkvm

Revision 1899 - Directory Listing - [select for diffs]
Modified Tue Sep 30 22:03:53 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1898 , to selected 311
$MidnightBSD$ and - licenses

Revision 1898 - Directory Listing - [select for diffs]
Modified Tue Sep 30 22:00:04 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1897 , to selected 311
Update libcrypt

Revision 1897 - Directory Listing - [select for diffs]
Modified Tue Sep 30 21:59:02 2008 UTC (15 years, 7 months ago) by laffer1
Diff to previous 1797 , to selected 311
Update libmd

Revision 1797 - Directory Listing - [select for diffs]
Modified Wed Sep 3 01:58:43 2008 UTC (15 years, 8 months ago) by laffer1
Diff to previous 1746 , to selected 311
add libbsm

Revision 1746 - Directory Listing - [select for diffs]
Modified Wed Jul 16 03:38:30 2008 UTC (15 years, 10 months ago) by laffer1
Diff to previous 1731 , to selected 311
Add os to user agent for libfetch.  We'll be able to track that it's our users easier.

Revision 1731 - Directory Listing - [select for diffs]
Modified Wed Jul 9 18:57:21 2008 UTC (15 years, 10 months ago) by laffer1
Diff to previous 1608 , to selected 311
Merge in changes from FreeBSD CURRENT and Dragonfly

Revision 1608 - Directory Listing - [select for diffs]
Modified Sat May 17 06:39:48 2008 UTC (16 years ago) by laffer1
Diff to previous 1589 , to selected 311
Add kld_load and kld_isloaded which are wrappers around some of the kld kernel functions.

See kld(3)

Revision 1589 - Directory Listing - [select for diffs]
Modified Fri May 16 18:43:29 2008 UTC (16 years ago) by laffer1
Diff to previous 1573 , to selected 311
tag and start branding with MidnightBSD.  We still need to tweak binutils.

Revision 1573 - Directory Listing - [select for diffs]
Modified Tue May 13 01:31:07 2008 UTC (16 years ago) by laffer1
Diff to previous 1572 , to selected 311
Remove advertising clause per letter.  Modernize the C code, I don't feel like maintaining this crap.

Revision 1572 - Directory Listing - [select for diffs]
Modified Mon May 12 03:22:32 2008 UTC (16 years ago) by laffer1
Diff to previous 1571 , to selected 311
Remove advertising clause per letter.

Revision 1571 - Directory Listing - [select for diffs]
Modified Mon May 12 03:16:01 2008 UTC (16 years ago) by laffer1
Diff to previous 1570 , to selected 311
Do not read away the target directory entry when encountering deleted
files after a seekdir().

The seekdir shall set the position for the next readdir operation.
When the _readdir_unlocked() encounters deleted entry, dd_loc is
already advanced. Continuing the loop leads to premature read of
the target entry.

Submitted by:	Marc Balmer <mbalmer at openbsd org>
Obtained from:	OpenBSD

Revision 1570 - Directory Listing - [select for diffs]
Modified Mon May 12 03:09:19 2008 UTC (16 years ago) by laffer1
Diff to previous 1550 , to selected 311
remove advertising clause.

Revision 1550 - Directory Listing - [select for diffs]
Modified Tue Apr 29 01:35:50 2008 UTC (16 years ago) by ctriv
Diff to previous 1547 , to selected 311
fix typo in conflict check sql statement.

Revision 1547 - Directory Listing - [select for diffs]
Modified Mon Apr 28 15:32:31 2008 UTC (16 years ago) by laffer1
Diff to previous 1542 , to selected 311
Remove old architectures.

$MidnightBSD$

Revision 1542 - Directory Listing - [select for diffs]
Modified Mon Apr 28 06:17:04 2008 UTC (16 years ago) by laffer1
Diff to previous 1539 , to selected 311
Remove powerpc and alpha bits.

Revision 1539 - Directory Listing - [select for diffs]
Modified Mon Apr 28 05:40:02 2008 UTC (16 years ago) by laffer1
Diff to previous 1518 , to selected 311
Tag properly.  Get rid of rediculous $FreeBSD$

Revision 1518 - Directory Listing - [select for diffs]
Modified Mon Apr 28 02:30:00 2008 UTC (16 years ago) by laffer1
Diff to previous 1516 , to selected 311
Add missing includes

Revision 1516 - Directory Listing - [select for diffs]
Modified Mon Apr 28 02:16:46 2008 UTC (16 years ago) by laffer1
Diff to previous 1515 , to selected 311
bind 9.4.2 changes

Revision 1515 - Directory Listing - [select for diffs]
Modified Mon Apr 28 02:14:04 2008 UTC (16 years ago) by laffer1
Diff to previous 1514 , to selected 311
Update for bind 9.4.2

Revision 1514 - Directory Listing - [select for diffs]
Modified Mon Apr 28 01:23:10 2008 UTC (16 years ago) by laffer1
Diff to previous 1513 , to selected 311
$MidnightBSD$

Revision 1513 - Directory Listing - [select for diffs]
Modified Mon Apr 28 01:22:41 2008 UTC (16 years ago) by laffer1
Diff to previous 1512 , to selected 311
Switch to threading

Revision 1512 - Directory Listing - [select for diffs]
Modified Mon Apr 28 00:59:56 2008 UTC (16 years ago) by laffer1
Diff to previous 1511 , to selected 311
ok this should be it

Revision 1511 - Directory Listing - [select for diffs]
Modified Mon Apr 28 00:59:09 2008 UTC (16 years ago) by laffer1
Diff to previous 1510 , to selected 311
most of the patches for 9.4

Revision 1510 - Directory Listing - [select for diffs]
Modified Mon Apr 28 00:06:56 2008 UTC (16 years ago) by laffer1
Diff to previous 1509 , to selected 311
Update for bind 9.4.2

Revision 1509 - Directory Listing - [select for diffs]
Modified Mon Apr 28 00:03:14 2008 UTC (16 years ago) by laffer1
Diff to previous 1508 , to selected 311
$MIdnightBSD$

Revision 1508 - Directory Listing - [select for diffs]
Modified Mon Apr 28 00:01:45 2008 UTC (16 years ago) by laffer1
Diff to previous 1507 , to selected 311
Update for bind 9.4.2

Revision 1507 - Directory Listing - [select for diffs]
Modified Sun Apr 27 23:53:34 2008 UTC (16 years ago) by laffer1
Diff to previous 1506 , to selected 311
Add pthread libs

Revision 1506 - Directory Listing - [select for diffs]
Modified Sun Apr 27 23:21:06 2008 UTC (16 years ago) by laffer1
Diff to previous 1505 , to selected 311
update for bind 9.4.x

Revision 1505 - Directory Listing - [select for diffs]
Modified Sun Apr 27 23:16:34 2008 UTC (16 years ago) by laffer1
Diff to previous 1501 , to selected 311
Tidy up

Revision 1501 - Directory Listing - [select for diffs]
Modified Sat Apr 26 17:59:26 2008 UTC (16 years ago) by ctriv
Diff to previous 1492 , to selected 311
Next developement snapshot.
Many bug fixes:  hardlinks work correctly, exec/unxec parsing, etc...
Packages now have a status, on install it starts as 'dirty', and is set to
'clean' if the install succeeds.  Similar logic is used in package deletion,
which now tries harder to keep going after errors.

Revision 1492 - Directory Listing - [select for diffs]
Modified Sat Apr 19 01:06:51 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1491 , to selected 311
Fix typo, tag

Revision 1491 - Directory Listing - [select for diffs]
Modified Fri Apr 18 19:13:11 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1490 , to selected 311
threading on

Revision 1490 - Directory Listing - [select for diffs]
Modified Fri Apr 18 19:11:36 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1489 , to selected 311
add missing src files for bind 9.4.2

Revision 1489 - Directory Listing - [select for diffs]
Modified Fri Apr 18 19:09:49 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1488 , to selected 311
add threading

Revision 1488 - Directory Listing - [select for diffs]
Modified Fri Apr 18 19:06:55 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1486 , to selected 311
Update for bind 9.4.2

Revision 1486 - Directory Listing - [select for diffs]
Modified Fri Apr 18 19:01:38 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1442 , to selected 311
Update files for BIND 9.4.2.

Revision 1442 - Directory Listing - [select for diffs]
Modified Thu Apr 3 17:50:57 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1441 , to selected 311
Ugh.  /* */ ...

Revision 1441 - Directory Listing - [select for diffs]
Modified Thu Apr 3 17:48:19 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1440 , to selected 311
Fix memory leak.

Revision 1440 - Directory Listing - [select for diffs]
Modified Thu Apr 3 17:47:01 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1439 , to selected 311
Found an additional integer overflow.

This version of the patch comes from NetBSD.

Also limits the range of getnumber to 0x00ffffff to ensure that adding two does not cause an overflow.

Revision 1439 - Directory Listing - [select for diffs]
Modified Thu Apr 3 17:43:56 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1438 , to selected 311
Fix an integer overflow in the GET_NUMBER macro.

Found in http://secunia.com/cve_reference/CVE-2008-1391/

Revision 1438 - Directory Listing - [select for diffs]
Modified Thu Apr 3 17:42:50 2008 UTC (16 years, 1 month ago) by laffer1
Diff to previous 1386 , to selected 311
Add missing header

Revision 1386 - Directory Listing - [select for diffs]
Modified Sun Mar 2 18:45:33 2008 UTC (16 years, 2 months ago) by laffer1
Diff to previous 1374 , to selected 311
Don't assume the lock is in use when reinitializing a lockuser.  Only allocate a lockuser request if both watched and lockuser's requests are null.  Fixes some random lockup behavior with some applications forking

Revision 1374 - Directory Listing - [select for diffs]
Modified Fri Jan 25 15:45:12 2008 UTC (16 years, 3 months ago) by laffer1
Diff to previous 1373 , to selected 311
Correct a timing problem when calling fork() from a process using libpthread (kse)

Revision 1373 - Directory Listing - [select for diffs]
Modified Fri Jan 25 15:29:12 2008 UTC (16 years, 3 months ago) by laffer1
Diff to previous 1370 , to selected 311
Add missing util.c for str2prt function, etc

Revision 1370 - Directory Listing - [select for diffs]
Modified Tue Jan 15 18:53:01 2008 UTC (16 years, 4 months ago) by laffer1
Diff to previous 1366 , to selected 311
PTY handling patch.

This is text from the FreeBSD advisory on the same issue:
If openpty(3) is called as non-root user the newly created
pseudo-terminal is world readable and writeable.  While this is
documented to be the case, script(1) still uses openpty(3) and
script(1) may be used by non-root users [CVE-2008-0217].

The ptsname(3) function incorrectly extracts two characters from the
name of a device node in /dev without verifying that it's actually
operating on a valid pty which the calling user owns.  pt_chown uses
the bad result from ptsname(3) to change ownership of a pty to the
user calling pt_chown [CVE-2008-0216].

Revision 1366 - Directory Listing - [select for diffs]
Modified Sat Jan 5 22:18:20 2008 UTC (16 years, 4 months ago) by ctriv
Diff to previous 1356 , to selected 311
Latest developement version of libmport.

Changes:

It is now possible to create, install, and delete packages from a system
with the library.

The install primative now uses the progress callback system to give the user
feedback during the install.

Support for installing into a chroot envirement is included at the library
level.  This is useful if you have a GUI app and you don't want your entire
process stuck in the chroot.

Many function names have been changed in an effort to improve the library's
orginization.

Many bug fixes and subtle changes.

Todo:

Docs:
	library overview.
	function reference.
	mport bundle specification.

The merge primative.

The fetch primative.

The update primative.

Top level functions to do things like "fetch this bundle, its depends, and
then install them all."

Some of the sematics are still up in the air.  For example, gtk12 and
gtk2 both have a pkgname of gtk.  libmport doesn't allow two package with
the same name to be installed.

Hard links are not implemented in a mport bundle.

Much more testing and bug fixing is needed.

Revision 1356 - Directory Listing - [select for diffs]
Modified Wed Dec 5 17:02:15 2007 UTC (16 years, 5 months ago) by ctriv
Diff to previous 1355 , to selected 311
Sync with devel version.
Add ERRORX macros.
Fix a number of memory leaks.
Various refactorings.

Revision 1355 - Directory Listing - [select for diffs]
Modified Sat Dec 1 06:21:37 2007 UTC (16 years, 5 months ago) by ctriv
Diff to previous 1350 , to selected 311
sync with developement version.

Version comparison now works, but we might change the definition of "works"
in the near future.  As crazy as the FreeBSD semantics are, they might be
useful.

All package files are now bundles.  Typical package files are simply a
special case of a bundle only containting one package.  There is no
performance penalty for many packages in one bundle at install time, and
there is only one code path for all installations.

pkg-deinstall script support has been added (but is not yet tested).

Many new functions for simplifing work.  See mport_db_do(),
mport_db_prepare(), and mport_add_file_to_archive(), et al.

Revision 1350 - Directory Listing - [select for diffs]
Modified Mon Nov 26 21:41:56 2007 UTC (16 years, 5 months ago) by ctriv
Diff to previous 1349 , to selected 311
First working version with installation.  Many code paths still untested.

Revision 1349 - Directory Listing - [select for diffs]
Modified Mon Nov 26 16:18:13 2007 UTC (16 years, 5 months ago) by laffer1
Diff to previous 1348 , to selected 311
Fix a bug in libpthread where libobjc is loaded first which causes GNUstep to fail when calling pthread_key_create.

Revision 1348 - Directory Listing - [select for diffs]
Modified Mon Nov 26 16:14:42 2007 UTC (16 years, 5 months ago) by laffer1
Diff to previous 1338 , to selected 311
Fix a problem where libobjc is loaded before libthr causing GNUstep to fail.

Revision 1338 - Directory Listing - [select for diffs]
Modified Fri Nov 23 05:57:43 2007 UTC (16 years, 6 months ago) by ctriv
Diff to previous 1337 , to selected 311
Add version comparisons.
Add preconditions check to package installation.

Revision 1337 - Directory Listing - [select for diffs]
Modified Thu Nov 22 08:00:32 2007 UTC (16 years, 6 months ago) by ctriv
Diff to previous 1333 , to selected 311
Latest developement version.  Nearing completion of package installation.

Revision 1333 - Directory Listing - [select for diffs]
Modified Tue Nov 20 10:58:25 2007 UTC (16 years, 6 months ago) by laffer1
Diff to previous 1297 , to selected 311
Fix some issues with Bind9 and the upcoming gcc update.

Revision 1297 - Directory Listing - [select for diffs]
Modified Tue Oct 23 14:46:25 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1296 , to selected 311
Remove libio as that was only for the alpha.  I don't know why I added it in the previous revision.  Also remove the files.

$MidnightBSD$ libbz2

work around libarchive so the system compiles.

Revision 1296 - Directory Listing - [select for diffs]
Modified Tue Oct 23 03:31:37 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1295 , to selected 311
remove alpha bits

Revision 1295 - Directory Listing - [select for diffs]
Modified Tue Oct 23 03:30:28 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1294 , to selected 311
Enable libio, libdisk and libthread_db.

Revision 1294 - Directory Listing - [select for diffs]
Modified Mon Oct 22 04:12:39 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1290 , to selected 311
Re-order library building to attempt a fix with libarchive.  Move libc to the beginning as we may need the symbols available.  (unrelated)

Revision 1290 - Directory Listing - [select for diffs]
Modified Mon Oct 22 00:55:07 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1272 , to selected 311
$MidnightBSD$

Revision 1272 - Directory Listing - [select for diffs]
Modified Sun Oct 7 16:29:17 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1263 , to selected 311
Fix a null pointer dereference in the POSIX priority classes.

Revision 1263 - Directory Listing - [select for diffs]
Modified Sat Sep 29 22:13:40 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1260 , to selected 311
Upgrade to libarchive 2.2.4.

Revision 1260 - Directory Listing - [select for diffs]
Modified Fri Sep 28 03:01:31 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1258 , to selected 311
Improvements to the sub.package schema.
Cleanup now always runs.
Fixed error handing in db_create.c

Revision 1258 - Directory Listing - [select for diffs]
Modified Thu Sep 27 03:27:18 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1257 , to selected 311
We now break up the conflict and depend inputs when they are inserted into
the stub db.

Revision 1257 - Directory Listing - [select for diffs]
Modified Thu Sep 27 03:26:38 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1256 , to selected 311
Updated the error handling in mport_parse_plist_file().

Revision 1256 - Directory Listing - [select for diffs]
Modified Thu Sep 27 03:25:16 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1255 , to selected 311
Updated the schema to make the conflicts and the depends a bit more
normalized.

Revision 1255 - Directory Listing - [select for diffs]
Modified Thu Sep 27 03:24:38 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1253 , to selected 311
Fix an off by one error in the list parsing.

Revision 1253 - Directory Listing - [select for diffs]
Modified Tue Sep 25 15:38:13 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1252 , to selected 311
$MidnightBSD$

Revision 1252 - Directory Listing - [select for diffs]
Modified Tue Sep 25 15:26:50 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1251 , to selected 311
Forced commit to note the patch originated from Ed Maste.

http://www.freebsd.org/cgi/query-pr.cgi?pr=81534

Revision 1251 - Directory Listing - [select for diffs]
Modified Tue Sep 25 15:25:42 2007 UTC (16 years, 7 months ago) by laffer1
Diff to previous 1247 , to selected 311
libc_r close() fails if fstat() returns an error.  This causes problems with FreeBSD 4.x applications.

Since we don't control compat4x, this will never be fully resolved, but we can certainly fix our part.

Revision 1247 - Directory Listing - [select for diffs]
Modified Mon Sep 24 20:58:00 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1246 , to selected 311
Add the cleanup code to create. Various bug fixes.

Revision 1246 - Directory Listing - [select for diffs]
Modified Mon Sep 24 20:54:15 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1245 , to selected 311
we don't want or need a threadsafe sqlite.  If users need it, they can build
it from ports.

Revision 1245 - Directory Listing - [select for diffs]
Modified Mon Sep 24 16:49:59 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1243 , to selected 311
Added mport_parselist().
Conflicts and depends are now inserted into the package file db.  The schema
of this will probably change once the install end is written and we know
what we need.

Revision 1243 - Directory Listing - [select for diffs]
Modified Mon Sep 24 06:01:46 2007 UTC (16 years, 7 months ago) by ctriv
Diff to previous 1241 , to selected 311
First working code for archive creation.  Many features still missing, but
it kinda works :).

Revision 1241 - Directory Listing - [select for diffs]
Modified Sun Sep 23 22:30:52 2007 UTC (16 years, 8 months ago) by ctriv
Diff to previous 1240 , to selected 311
Start of libmport.  At the moment all it can do is a make a tmpdir with the
package-meta database.  Soon we'll pull in libarchive and start to make some
packages.

Revision 1240 - Directory Listing - [select for diffs]
Modified Sun Sep 23 22:29:21 2007 UTC (16 years, 8 months ago) by ctriv
Diff to previous 1237 , to selected 311
remove some things that where for platforms we don't support.
add libsqlite3.

Revision 1237 - Directory Listing - [select for diffs]
Modified Fri Sep 21 19:23:48 2007 UTC (16 years, 8 months ago) by ctriv
Diff to previous 1221 , to selected 311
libsqlite3 depends on pthread.

Revision 1221 - Directory Listing - [select for diffs]
Modified Tue Sep 11 16:39:00 2007 UTC (16 years, 8 months ago) by laffer1
Diff to previous 1204 , to selected 311
threads should write to stderr when they have error messages.

Revision 1204 - Directory Listing - [select for diffs]
Modified Sat Aug 18 07:58:02 2007 UTC (16 years, 9 months ago) by laffer1
Diff to previous 1019 , to selected 311
Obtained from FreeBSD:

pam_nologin(8) starts to provide an account management function in
addition to the existing authentication function so that sshd(8) can
respect nologin(5) while the rest of PAM consumers work as earlier.
In turn, sshd(8) starts to use the new account management function
in pam_nologin(8) and thus respect nologin(5) even when doing public
key authentication with sshd's internal routines (PAM authentication
isn't called at all in that case).

Revision 1019 - Directory Listing - [select for diffs]
Modified Thu Jul 12 21:59:15 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1005 , to selected 311
Preliminary libarchive security patch.  This is equivalent to FreeBSD-SA-07:05.libarchive

Revision 1005 - Directory Listing - [select for diffs]
Modified Mon May 14 06:12:57 2007 UTC (17 years ago) by laffer1
Diff to previous 1002 , to selected 311
$MidnightBSD$

Use unsigned comparisons.  This fixes some bugs in the following case:

1. i386
2. program calling update is statically linked to libmd
3. buffer provided is aligned modulo 4 bytes
4. the buffer extends beyond 2 GB.

Bugs 1-3 still cause problems beyond 4GB.

Revision 1002 - Directory Listing - [select for diffs]
Modified Fri May 11 06:31:15 2007 UTC (17 years ago) by ctriv
Diff to previous 906 , to selected 311
Added libsqlite3.

Revision 906 - Directory Listing - [select for diffs]
Modified Fri Apr 6 20:37:50 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 905 , to selected 311
Back out propolice.  More information in UPDATING.

In short, propolice broke libpthread and libthr.

Revision 905 - Directory Listing - [select for diffs]
Modified Fri Apr 6 20:12:31 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 904 , to selected 311
$MidnightBSD$ and whitespace

Revision 904 - Directory Listing - [select for diffs]
Modified Fri Apr 6 20:03:33 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 903 , to selected 311
Disable -g flag

Revision 903 - Directory Listing - [select for diffs]
Modified Fri Apr 6 19:58:03 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 902 , to selected 311
$MidightBSD$

Backout recent changes so that we can detect problems easily.  curthread == NULL with the propolice patch in several cases.

Revision 902 - Directory Listing - [select for diffs]
Modified Fri Apr 6 19:49:14 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 900 , to selected 311
$MidnightBSD$

Revision 900 - Directory Listing - [select for diffs]
Modified Thu Apr 5 04:17:02 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 899 , to selected 311
!= :)

Revision 899 - Directory Listing - [select for diffs]
Modified Thu Apr 5 04:09:05 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 898 , to selected 311
Remove ProPolice portion.  Its un-needed.

Revision 898 - Directory Listing - [select for diffs]
Modified Thu Apr 5 03:52:16 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 897 , to selected 311
After adding pro police, we started failing one of the regression tests that we used to pass (mutex_d).

curthread can be NULL in some cases.  This was causing the test app to crash.

Revision 897 - Directory Listing - [select for diffs]
Modified Thu Apr 5 02:45:54 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 896 , to selected 311
Some /sbin utilities require this.

Revision 896 - Directory Listing - [select for diffs]
Modified Thu Apr 5 02:45:23 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 895 , to selected 311
$MidnightBSD$

Revision 895 - Directory Listing - [select for diffs]
Modified Tue Apr 3 18:03:04 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 894 , to selected 311
Missed one...

Revision 894 - Directory Listing - [select for diffs]
Modified Tue Apr 3 18:01:25 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 886 , to selected 311
Add missing prototypes through header includes.

Revision 886 - Directory Listing - [select for diffs]
Modified Mon Apr 2 00:48:03 2007 UTC (17 years, 1 month ago) by archite
Diff to previous 876 , to selected 311
Importing propolice into MidnightBSD. Propolice is going to
provide us with much greater security and stability in the
long run. If upgrading from a pre-propolice system, please
follow the these instructions:

cd /usr/src/lib/libc && make obj && make && make install
cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
buildworld and kernel

It is adviced that any mports which were installed and/or built
prior to the propolice update also be updated. If any errors
or issue are encounted, please contact security@midnightbsd.org
and we will be sure to investigate and come up with an expeditious
fix.

Revision 876 - Directory Listing - [select for diffs]
Modified Sat Mar 24 07:53:53 2007 UTC (17 years, 2 months ago) by archite
Diff to previous 870 , to selected 311
Importing ohash functions into libc from OpenBSD 4.0 code.

Revision 870 - Directory Listing - [select for diffs]
Modified Tue Mar 20 17:32:17 2007 UTC (17 years, 2 months ago) by laffer1
Diff to previous 869 , to selected 311
Fix the MBSDID crap

Revision 869 - Directory Listing - [select for diffs]
Modified Tue Mar 20 17:02:55 2007 UTC (17 years, 2 months ago) by laffer1
Diff to previous 833 , to selected 311
$MidnightBSD$

The __MBSDID macro is not working as it should be with the assembler. There must be a behavior difference between FBSDID and MBSDID somewhere.

Revision 833 - Directory Listing - [select for diffs]
Modified Wed Mar 14 12:10:24 2007 UTC (17 years, 2 months ago) by laffer1
Diff to previous 829 , to selected 311
unbreak the build for nowunbreak the build for now.

Revision 829 - Directory Listing - [select for diffs]
Modified Wed Mar 14 02:24:10 2007 UTC (17 years, 2 months ago) by laffer1
Diff to previous 733 , to selected 311
This commit was generated by cvs2svn to compensate for changes in r828,
which included commits to RCS files with non-trunk default branches.
Revision 733 - Directory Listing - [select for diffs]
Modified Fri Feb 9 17:18:53 2007 UTC (17 years, 3 months ago) by laffer1
Diff to previous 720 , to selected 311
$MidnightBSD$

Remove alpha bits

Revision 720 - Directory Listing - [select for diffs]
Modified Fri Feb 2 01:03:18 2007 UTC (17 years, 3 months ago) by laffer1
Diff to previous 718 , to selected 311
Fixed generated files as I forgot to remove a file. (skipped 9.3.3 release..)

Revision 718 - Directory Listing - [select for diffs]
Modified Fri Feb 2 00:23:38 2007 UTC (17 years, 3 months ago) by laffer1
Diff to previous 717 , to selected 311
Generated files using step 9  make -DMAINTAINER_MODE generate...

Revision 717 - Directory Listing - [select for diffs]
Modified Fri Feb 2 00:21:12 2007 UTC (17 years, 3 months ago) by laffer1
Diff to previous 695 , to selected 311
Generated files for Bind 9.3.4 per FreeBSD-upgrade directions step 7 and 8

Revision 695 - Directory Listing - [select for diffs]
Modified Fri Jan 19 03:20:15 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 656 , to selected 311
Add new libsm file from sendmail 8.13.6+

Revision 656 - Directory Listing - [select for diffs]
Modified Sat Jan 13 18:51:05 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 603 , to selected 311
Add an alias 'unhalted-cycles' denoting cyles where the CPU is not in halt or sleep state.

Revision 603 - Directory Listing - [select for diffs]
Modified Sat Jan 13 13:51:19 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 596 , to selected 311
Handling of login.access(5) was moved from login(1) to pam_login_access(8) years ago.  This will remove dead code, clean up manpages and install login.access.5 from the pam_login_access src dir.

Revision 596 - Directory Listing - [select for diffs]
Modified Sat Jan 13 00:16:27 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 594 , to selected 311
Clean up some descriptions.

Revision 594 - Directory Listing - [select for diffs]
Modified Sat Jan 13 00:13:39 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 569 , to selected 311
Remove a useless word.

Revision 569 - Directory Listing - [select for diffs]
Modified Sun Jan 7 23:59:31 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 562 , to selected 311
Sync inet_net_pton() and inet_net_ntop() with latest BIND9's includes an IPv6 support version.

Revision 562 - Directory Listing - [select for diffs]
Modified Sun Jan 7 23:37:16 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 513 , to selected 311
Just query as is if there is a trailing dot in the name.

Don't query as is twice.

Revision 513 - Directory Listing - [select for diffs]
Modified Thu Jan 4 06:44:59 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 512 , to selected 311
__restrict

Revision 512 - Directory Listing - [select for diffs]
Modified Thu Jan 4 06:27:28 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 511 , to selected 311
Fix formatting.

Revision 511 - Directory Listing - [select for diffs]
Modified Thu Jan 4 06:26:08 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 509 , to selected 311
Add the source of strndup(3).

Revision 509 - Directory Listing - [select for diffs]
Modified Thu Jan 4 06:22:05 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 475 , to selected 311
Add strndup(3) to libc.

$MidnightBSD$

Revision 475 - Directory Listing - [select for diffs]
Modified Sun Dec 31 23:54:46 2006 UTC (17 years, 4 months ago) by laffer1
Diff to previous 472 , to selected 311
Fix error in reference.

Revision 472 - Directory Listing - [select for diffs]
Modified Sun Dec 31 23:46:15 2006 UTC (17 years, 4 months ago) by laffer1
Diff to previous 461 , to selected 311
Correct misleading documentation.

Revision 461 - Directory Listing - [select for diffs]
Modified Sun Dec 31 22:36:16 2006 UTC (17 years, 4 months ago) by laffer1
Diff to previous 440 , to selected 311
Add efun(3) functions from NetBSD.

Revision 440 - Directory Listing - [select for diffs]
Modified Sun Dec 31 09:59:48 2006 UTC (17 years, 4 months ago) by laffer1
Diff to previous 349 , to selected 311
Add NetBSD efun(3) functions...

esetfunc, easprintf, efopen, ecalloc, emalloc, erealloc, estrdup, estrlcat, estrlcpy, evasprintf

Some code in the tree already includes this such as fsck and rcorder. This will make NetBSD code porting easier.  Note our libutil uses libutil.h instead of util.h.

Revision 349 - Directory Listing - [select for diffs]
Modified Tue Dec 26 01:20:32 2006 UTC (17 years, 4 months ago) by laffer1
Diff to previous 338 , to selected 311
   Fix a typo in __fpu_ftox() that caused long double to long (and long long)
   conversion of negative numbers to always result in -1.

Revision 338 - Directory Listing - [select for diffs]
Modified Mon Dec 18 23:50:50 2006 UTC (17 years, 5 months ago) by laffer1
Diff to previous 326 , to selected 311
As discussed on freebsd-threads@freebsd.org, a libpthread bug exists that this patch by Peter Edwards Corrects.

Here is a summary:

I've a problem when a process uses:
       libpthread
       detached threads
       mixed bound/unbound threads
       suspended threads  (a la pthread_resume_np())

whereby some newly created suspended threads don't get scheduled.
I think I've tracked it down, so if someone could review the
reasoning, I'd be grateful.

Newly launched threads have a "struct pthread" that may be allocated
from a freelist of GCed threads. Apparently, when detached threads
enter the GCed list, they can still have the "active" flag set on
them. Later, this causes problems when this thread is recycled and
resumed, because _thr_setrunnable_unlocked() doesn't add it to a
run queue.

thr_cleanup can be called either from the bound-threads scheduler,
or the unbound scheduler. One callsite clears "active", "needswitchout",
and "lock_switch" to zero before the call. The other callsite just
clears "check_pending". I think these flags are all either bound-thread
or unbound-thread specific, and that there was an unintended
assumption that the thread would remain with the same "boundedness"
after being recycled, which isn't neccessarily the case. (Or another
way - the idea was that there was no need to clear the "active"
flag on a bound thread, as its only used for unbound threads, but
a GCed bound thread might be recycled into an unbound thread)

Given that, it seems correct to clean up the thread the same way
for both cases, and just move that code into thr_cleanup.

Revision 326 - Directory Listing - [select for diffs]
Modified Tue Oct 31 19:22:30 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 314 , to selected 311
Cleanup

Revision 314 - Directory Listing - [select for diffs]
Modified Mon Oct 30 14:50:16 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 313 , to selected 311
Only catch SIGINFO when LIBPTHREAD_DEBUG is defined in the environment.

Eliminate a race condition in timed waist (cv, mutex, sleeps).

Don't forget to init a TAILQ before using it.

Allocate a thread's tcb last so it is easier to handle failures to malloc() siginfo.

Include needed headers obtained through pthread.h

Obtained from FreeBSD (March 2006 MFC)

Revision 313 - Directory Listing - [select for diffs]
Modified Mon Oct 30 13:55:39 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 311
Remove alpha references, install shared libc_r into /lib because its aliased by libpthread and some /sbin tools.

Revision 311 - Directory Listing - [selected]
Modified Mon Oct 30 07:43:26 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 310
Correct decoding a string containing '/'

Revision 310 - Directory Listing - [select for diffs]
Modified Mon Oct 30 07:34:44 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 309 , to selected 311
Added strtonum

Revision 309 - Directory Listing - [select for diffs]
Modified Mon Oct 30 07:30:16 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 308 , to selected 311
More cleanup

Revision 308 - Directory Listing - [select for diffs]
Modified Mon Oct 30 07:28:15 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 245 , to selected 311
Posixize function strtonum, clean up manpage.

Revision 245 - Directory Listing - [select for diffs]
Modified Tue Oct 10 15:36:54 2006 UTC (17 years, 7 months ago) by laffer1
Diff to previous 206 , to selected 311
fix build of openssh.

Revision 206 - Directory Listing - [select for diffs]
Modified Mon Oct 2 00:39:35 2006 UTC (17 years, 7 months ago) by laffer1
Diff to previous 205 , to selected 311
forgot to add int copyout :)

Revision 205 - Directory Listing - [select for diffs]
Modified Mon Oct 2 00:24:29 2006 UTC (17 years, 7 months ago) by laffer1
Diff to previous 204 , to selected 311
Adjusted directions

Revision 204 - Directory Listing - [select for diffs]
Modified Mon Oct 2 00:16:53 2006 UTC (17 years, 7 months ago) by laffer1
Diff to previous 202 , to selected 311
gzio.c minigzip.c and zconf.h have changes that must be maintained during each upgrade from the vendor branch.

Revision 202 - Directory Listing - [select for diffs]
Modified Sun Oct 1 23:49:06 2006 UTC (17 years, 7 months ago) by laffer1
Diff to previous 115 , to selected 311
This commit was generated by cvs2svn to compensate for changes in r201,
which included commits to RCS files with non-trunk default branches.
Revision 115 - Directory Listing - [select for diffs]
Modified Wed Aug 23 15:36:08 2006 UTC (17 years, 9 months ago) by laffer1
Diff to previous 95 , to selected 311
Go back to PHK malloc.  Development version accidently commited.

Revision 95 - Directory Listing - [select for diffs]
Modified Mon Aug 21 03:34:42 2006 UTC (17 years, 9 months ago) by adam
Diff to previous 6 , to selected 311
Imported strtonum() from OpenBSD

Revision 6 - Directory Listing - [select for diffs]
Modified Sat Feb 25 02:38:42 2006 UTC (18 years, 2 months ago) by laffer1
Diff to previous 3 , to selected 311
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.
Revision 3 - Directory Listing - [select for diffs]
Added Sat Feb 25 02:29:52 2006 UTC (18 years, 2 months ago) by laffer1
Diff to selected 311
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.

Convenience Links