8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 04:03:03 +01:00
Commit Graph

196 Commits

Author SHA1 Message Date
alexpeshkoff
91134ab0d0 Make engine create lock files in /tmp/firebird 2009-05-22 13:47:27 +00:00
alexpeshkoff
86f3176307 Fixed CORE-2467: security risk in 2.5 beta1 2009-05-19 14:33:36 +00:00
alexpeshkoff
e6cf9a69be Fixed bug, reported by Dmitry privately - in isc_sync per attachment buffer can not be used for strings 2009-05-08 08:36:18 +00:00
alexpeshkoff
cef41b3286 1. Solaric/Sparc SunProCC port.
2. Cleanup SOLARIS_MT threading model.
2009-05-05 08:06:37 +00:00
asfernandes
9178fc4100 Misc 2009-05-01 02:46:18 +00:00
alexpeshkoff
f304bc5bd0 misc 2009-04-30 07:27:04 +00:00
alexpeshkoff
dbc359ef95 Solaris port - make robust mutexes work on solaris 2009-04-29 08:33:51 +00:00
asfernandes
1c20adb8fc Misc 2009-04-29 01:52:49 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
asfernandes
c986de33a2 Misc 2009-04-22 01:58:40 +00:00
alexpeshkoff
e6d8c3b399 Fixed shared memory access rights issues 2009-04-20 10:34:59 +00:00
alexpeshkoff
ff38566a9d Enhanced shmget() error reporting 2009-04-16 08:55:12 +00:00
alexpeshkoff
4db90789fe Fixed error reported by Sergey Mereutsa 2009-04-16 07:52:39 +00:00
asfernandes
d136f88092 Misc 2009-04-11 19:41:01 +00:00
robocop
c13c556b69 Misc. 2009-04-11 05:47:13 +00:00
alexpeshkoff
eb095416cb Use shared robust mutexes if present.
This provides successfull recovery in case when any of firebird processes
died with locked shared mutex (like it was with semaphores SystemV).
2009-04-10 16:53:01 +00:00
alexpeshkoff
58bdb6c241 Cleanup - unsupported port HP10 2009-04-10 15:36:58 +00:00
alexpeshkoff
b305740736 Cleanup unused macro SHMEM_PICKY and related stuff.
Fixed code for systems with broken mmap (like HPUX) - avoid shared memory leak.
2009-04-09 16:47:20 +00:00
alexpeshkoff
1e7898ea22 Fix for CORE-2402: bad permissions on temp files, /tmp is polluted with a lot of files 2009-04-08 11:00:58 +00:00
robocop
5acf561eb6 Get rid of some typedefs. 2009-04-02 08:53:25 +00:00
dimitr
c7b95648de Remove the shmem backing files when they're not used anymore. 2009-04-01 17:35:04 +00:00
aafemt
fcd4ed854b Fix MinGW build 2009-03-01 13:26:03 +00:00
alexpeshkoff
0346cf6a83 Fixed a number of problems with file ownership and access rights on unix 2009-02-20 16:18:12 +00:00
robocop
7bc5e3cc83 Style. 2009-02-03 11:02:00 +00:00
dimitr
1b3927b026 1) Globally named per-database shmem regions.
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
alexpeshkoff
2315131ddd Avoid races when lock file is opened in different threads of same process 2009-01-13 14:29:07 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
alexpeshkoff
bd680bcb47 Solaris port 2008-12-28 15:26:05 +00:00
asfernandes
5311dd5a5e Misc 2008-12-20 19:57:43 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
alexpeshkoff
017a5b6759 HPUX port 2008-12-11 10:59:26 +00:00
robocop
9f52942ab0 Style. 2008-12-02 07:09:49 +00:00
alexpeshkoff
15800b90b9 Frontported fix for CORE-2221: Attach to any DB fails after modification of access rights of security2.fdb 2008-12-01 12:38:55 +00:00
alexpeshkoff
a95079b725 In case of System V semaphores mutex_fini() no-op too 2008-11-28 11:28:12 +00:00
alexpeshkoff
d8f817b2e8 fixed posix build 2008-11-28 11:01:00 +00:00
asfernandes
cbed660d28 Misc 2008-10-28 00:16:20 +00:00
dimitr
eba2fec16c Misc. 2008-10-24 06:22:55 +00:00
robocop
d50c65a3d9 Close some of my favorite B.O.'s since FB1. To be reviewed by Vlad. 2008-10-21 06:17:03 +00:00
robocop
43ee87b07d Misc. 2008-10-21 04:25:49 +00:00
asfernandes
ad716e38d9 Misc 2008-10-20 23:46:46 +00:00
dimitr
fa6eaff430 An attempt to fix non-HAVE_MMAP builds. To be refactored by Alex later. 2008-10-20 14:30:20 +00:00
robocop
96b399254e Misc. 2008-10-16 08:52:33 +00:00
alexpeshkoff
526fd5efee Added mutex for init-file open in MT world.
Fixed pid initialization in event.
2008-10-12 15:03:39 +00:00
asfernandes
843df670d7 Misc 2008-10-11 02:42:01 +00:00
alexpeshkoff
e79f55708d 1. Cleanup - use Firebird::Semaphore instead of local events, removed code
related with local events from isc_sync.cpp.

2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().

3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).

4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).

5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
hvlad
47d76f4143 Allow CS processes to share MMF's again ;) 2008-07-18 12:21:11 +00:00