Pawel Dziepak
cf35dcc5bc
vm: make aslr use more secure PRNG
2013-04-11 17:16:49 +02:00
Pawel Dziepak
d0a8e6ef2b
vm: remove unused static function log2()
2013-04-11 12:32:32 +02:00
Pawel Dziepak
87d1bdb87c
util: add secure pseudorandom number generator
2013-04-11 12:31:58 +02:00
Pawel Dziepak
69042ecd1b
util: style fixes
2013-04-11 12:15:47 +02:00
Pawel Dziepak
d9fa99bb60
scheduler: let schedulers use kernel utils for random numbers
2013-04-11 04:37:23 +02:00
Pawel Dziepak
b56330de8e
nfs4: let nfs4 use kernel utils for random numbers
2013-04-11 04:35:11 +02:00
Pawel Dziepak
5c455f803f
vm: let aslr use kernel utils for random numbers
2013-04-11 04:35:11 +02:00
Pawel Dziepak
6003243ef3
util: introduce kernel utils for pseudorandom number generation
...
Currently there are two generators. The fast one is the same one the scheduler
is using. The standard one is the same algorithm libroot's rand() uses. Should
there be a need for more cryptographically PRNG MD4 or MD5 might be a good
candidates.
2013-04-11 04:34:59 +02:00
Ingo Weinhold
62f7022a82
package kit: get active packages list from daemon
...
* daemon: Implement private message protocol to retrieve the active
packages.
* BPackageRoster::GetActivePackages(): Get the active packages list
from the daemon.
2013-04-11 02:03:25 +02:00
Ingo Weinhold
b254217a09
package daemon: Properly qualify private package headers
...
... instead of adding the private package header directory to the
include paths.
2013-04-11 00:59:48 +02:00
Ingo Weinhold
6c6460e1f6
BPackageInfo: Add GetConfigString() and ToString()
2013-04-11 00:37:25 +02:00
Ingo Weinhold
1a34656b57
BPackageVersion: Make version string constructor explicit
2013-04-11 00:36:10 +02:00
Jerome Duval
341c03f988
GCC4 cross tools: a static libGMP requires linking with the host libstdc++
hrev45480
2013-04-10 23:25:39 +02:00
John Scipione
b76cec7d9c
Pass a pointer to the TBarView object into the ExpandoMenuBar constructor
...
I fear that perhaps the fBarView variable may be accessed before it has a
chance to be set in AttachedToWindow(). By setting it in the constructor there
is no chance of this. Might fix #9656
hrev45479
2013-04-10 15:23:17 -04:00
Jerome Duval
e0d1980015
GCC4 cross tools: build libGMP before PPL and CLooG
...
* libGMP is actually a CLooG dependency, we now build it before CLooG
and tell to GCC where to find it when Graphite build is activated.
hrev45478
2013-04-10 18:47:01 +02:00
Ingo Weinhold
5776551d3d
pkgman: Move some classes into own file for reuse
...
Namely RepositoryBuilder and PackageInfoErrorListener.
2013-04-10 14:41:30 +02:00
Ingo Weinhold
483d49968d
LibsolvSolver: Make repeated use of object possible
...
* _Solve(): Clean up the old solver before creating a new one.
* _AddRepositories(): Don't do anything, if the repositories haven't
changed.
2013-04-10 13:20:38 +02:00
Ingo Weinhold
50888ebdc0
BSolverRepository: Add a change count
...
... so we can easily check whether the repository has changed since the
last time we used it.
2013-04-10 12:58:12 +02:00
John Scipione
429ae1b151
A few more style fixes to ListView and ColorSet, thanks Axel
hrev45477
2013-04-09 19:24:51 -04:00
Rene Gollent
26f129eff2
Fix #9649 .
...
- Fix regression introduced in hrev45462: BUnicodeChar::FromUTF8 was no
longer advancing the passed in string pointer, resulting in endless
loops in functions relying on that behavior such as the locale kit's
CoerceFormatTo*() functions.
hrev45476
2013-04-09 18:21:56 -04:00
Pawel Dziepak
5b4fb267ad
textencoding: add CP-1250 encoding
hrev45475
2013-04-09 23:39:10 +02:00
Ingo Weinhold
40cbf171ef
packagefs: don't dup() the packages directory FD
...
Volume::_AddInitialPackagesFromDirectory(): Use openat() instead of
dup() to get a FD for the packages directory. Currently our fdopendir()
implementation doesn't use it directly anyway, but in theory it could
and would then change the state of the original FD.
2013-04-09 23:35:57 +02:00
Ingo Weinhold
19dc1d084f
packagefs: Use the package activation file
...
If the file exists load only the packages specified in it. If it doesn't
exist or any kind of error occurs, fall back to loading all packages in
the packages directory.
2013-04-09 23:26:56 +02:00
Pawel Dziepak
feae2b5a00
vm: force userland to use B_RANDOMIZED_* address specifications
2013-04-09 23:25:19 +02:00
Ingo Weinhold
a96531fc51
package daemon: On changes write a file with the active packages
2013-04-09 22:37:18 +02:00
Pawel Dziepak
bf65fc1dfe
vm: remove B_RANDOMIZED_IMAGE_ADDRESS address specification
...
This address specification is actually not needed since PIC images can be
located anywhere. Only their size is restriced but that is the compiler and
linker concern. Thanks to Alex Smith for pointing that out.
2013-04-09 22:09:13 +02:00
Jerome Duval
024f78deeb
GCC4 cross tools: disable "maintainer mode" on PPL configure.
...
* PPL: make could run autoconf in certain conditions, thus generating artefacts
in the source tree. Added --disable-maintainer-mode when launching
configure to avoid this situation.
* cleanup: there are no info files in CLooG and PPL.
hrev45474
2013-04-09 21:55:06 +02:00
Ingo Weinhold
19a268a459
Update libiconv and sqlite packages
...
The new package files haven't been rebuilt, just repackaged. Only small
details in the package-info changed.
2013-04-09 20:07:46 +02:00
Ingo Weinhold
92b6d58598
package daemon: Check volume package dependencies initially
...
Dumps the result (i.e. found problems and solutions) to the syslog.
Eventually the user should be asked what to do when inconsistencies are
encountered.
2013-04-09 19:51:10 +02:00
Ingo Weinhold
4b3ca457b6
BSolverProblemSolution: Fix ToString() template strings
2013-04-09 18:55:07 +02:00
Ingo Weinhold
5e01af3199
package kit: Add data structures for problem solutions
...
... and add the problem solutions in LibsolvSolver.
2013-04-09 17:24:27 +02:00
John Scipione
1af184248a
Pass the B_FILTER_BITMAP_BILINEAR for scaling backgrounds
...
Fixes #6536
hrev45473
2013-04-09 03:38:01 -04:00
John Scipione
7e702e5226
Covert Tracker Find window to use ControlLook arrows
...
Also fix a few style issues and make the MiniMenu control have a nice keyboard
focus border.
hrev45472
2013-04-09 02:58:58 -04:00
John Scipione
d45ea79290
One more style fix that I missed
hrev45471
2013-04-09 00:20:46 -04:00
John Scipione
63f3755c5f
Many style fixes to ListView
hrev45470
2013-04-09 00:17:37 -04:00
John Scipione
29ceb649f8
Style fixes to ListView
2013-04-08 23:49:57 -04:00
John Scipione
135f35e5c7
SetColor and redraw listitems on revert. Fixes #9640
...
Finally the point of these commits, to fix this bug.
hrev45469
2013-04-08 23:13:34 -04:00
John Scipione
0112415f3b
Reverse loop variable avoidance
2013-04-08 23:13:33 -04:00
John Scipione
eba68f6124
Update header and other style fixes
2013-04-08 23:13:32 -04:00
John Scipione
034643d4ca
Reorder Revert to order of tabs, same as Defaults action
2013-04-08 23:12:48 -04:00
John Scipione
7ef12e5cad
Eliminated _UpdateControls(), some style fixes
2013-04-08 23:11:42 -04:00
John Scipione
4600a90cd0
Pointer style fixes
2013-04-08 23:11:41 -04:00
John Scipione
aff2fb8750
Loop count premature optimization
2013-04-08 23:11:39 -04:00
John Scipione
3e30da293d
Stylish style fixes for ColorSet
2013-04-08 23:11:39 -04:00
Pawel Dziepak
968cf7c83d
nfs4: make sure retry delay won't get out of bigtime_t range
hrev45468
2013-04-09 03:40:54 +02:00
Pawel Dziepak
75ff6e996f
nfs4: silent "suggest parentheses" GCC warning
hrev45467
2013-04-09 03:31:19 +02:00
Pawel Dziepak
6f840fdf69
Merge branch 'nfs4'
hrev45466
2013-04-09 03:15:11 +02:00
Pawel Dziepak
9ac4430cd6
nfs4: fix incrementing owner sequence id in some cases
...
If in a compound request an error occurs before the operation that takes
sequence id is executed (e.g. OPEN or LOCK) do not increment sequence id
regardless of the error code.
2013-04-09 03:13:59 +02:00
Pawel Dziepak
fa1ca5e20c
nfs4: use exponential backoff when the server ask to wait
2013-04-09 01:55:23 +02:00
Alexander von Gluck IV
876e5db83d
usb_asix: add a few missing device usb id's
...
* Taken from the Linux asix driver
* Untested, but same chipset so they
*should* work.
hrev45465
2013-04-08 18:19:12 -05:00