summaryrefslogtreecommitdiff
path: root/src/system
Commit message (Collapse)AuthorAgeFilesLines
...
* some coverity fixesSimon Brandner2013-07-191-2/+6
| | | | | | fixed some merge problems Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Semaphores and Pointer passing insteasd by value and otehr coverity issue fixesSimon Brandner2013-07-193-18/+26
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed corruption of transferred filenames because of variable ID-length in ↵Simon Brandner2013-07-191-7/+3
| | | | | | unique_name creation by prepending zeros Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* fixed filetransfer stopping because of invalid dirnames.Simon Brandner2013-07-191-7/+2
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* added length check for inotify eventSimon Brandner2013-07-191-4/+4
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fix compiler warningsLassi Marttala2013-07-192-2/+6
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* modified filetransfer to be more robust in restarting transfersSimon Brandner2013-07-193-266/+615
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* fixed possible overflow in dlt-system-filetransfer and missing fclose in ↵Simon Brandner2013-07-191-7/+12
| | | | | | dlt_daemon_common Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* appended null termination to version stringSimon Brandner2013-07-192-20/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | adding closure of socket in syslog_thread and read_socket fixed missing free of filepath in compressed file transfer fixed missing closedir in added in send_one error case fixed missing fclose of src_file in ferror case dlt-daemon.c fixed missing fclose in ferror case dlt_common.c using snprintf for filename instead sprintf in dlt_file_open modified some magix numbers - replaced by limits.h values. added strncpy instead strcpy to make cp more safe. split up a function to avoid coverity complaint when computing size of a write buffer length dlt_daemon_common: added strncpy instead strcpy to make cp more safe. Fixes some more Coverity issues in dlt-daemon.c dlt_user.c dlt_common.c and dlt_offline_trace.c. Conflicts: src/daemon/dlt-daemon.c src/lib/dlt_user.c Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Parasoft workaround: solve complaints about missing breaks/returns in ↵Simon Brandner2013-07-191-0/+1
| | | | | | default part of switch statements Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-115]: Encapsulate more macros. Fix things that used macrosLassi Marttala2012-11-261-1/+1
| | | | | | incorrectly. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fixed filetransfer not checking buffer fill level.Alexander Wenzel2012-11-261-2/+3
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* 2.7.0 Delivery prep.Lassi Marttala2012-06-151-0/+4
| | | | | | Document necessary rights for file transfer directories. Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Updated doxygen documentation, readme, man pages and release notesChristian Muck2012-06-131-4/+2
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Preparation of config files for releaseChristian Muck2012-06-132-2/+7
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* [GDLT-93]: Add -Wextra flags for compilationLassi Marttala2012-06-134-8/+8
| | | | | | Fixed all the warnings that popped up with the new flag. Signed-off-by: Christian Muck <christian.muck@bmw.de>
* [GDLT-90] Implemented systemd watchdog concept in dlt-systemChristian Muck2012-06-137-7/+239
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* dlt-system: Logging of error conditions. Assert memory allocations.Lassi Marttala2012-06-136-13/+74
| | | | | | | dlt-system: logfile module would sometimes deadlock in the end of a file because of feof() reset in the end of the file. Signed-off-by: Christian Muck <christian.muck@bmw.de>
* [GDLT-67] dlt-system v2.0, check full commit message for rebase detailsLassi Marttala2012-06-1313-1363/+1582
| | | | | | | | | | | | | | | [GDLT-67] Prepare build system. [GDLT-67] Config parsing, structure for thread handling [GDLT-67] Finalize configuration reading. [GDLT-67] Reimplementation of syslog, logfile, logprocess, shell. [GDLT-67] First complete version of the new dlt-system. [GDLT-67] Fixed header comments. authors, file names. [GDLT-67] Final touches. [GDLT-67] Fixed a problem with thread creation in optimized release binary. [GDLT-67] New configuration file. [GDLT-67] Added dlt debug output Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Added dlt log to injection methodsChristian Muck2012-05-301-2/+2
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-75. Use old style directory check on startup.Lassi Marttala2012-04-041-89/+125
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-4 Improve queue handling, allow for other messages whileLassi Marttala2012-04-042-6/+15
| | | | | | transferring a large file. Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-4 Limit maximum file queue to 256 files.Lassi Marttala2012-04-041-16/+20
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Cleaned some warnings generated from removing stale old code.Lassi Marttala2012-04-041-3/+1
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-4, First working version of inotify for file transfer.Lassi Marttala2012-04-041-15/+33
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-2, First test for filetransfer changeLassi Marttala2012-04-043-2/+51
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-2: Change to gzip wrapper format. Change file signature creation toLassi Marttala2012-04-041-88/+55
| | | | | | | account for file size, as inode number maybe duplicate when deleting and creating new files. Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-2, Fix bug while reading the options.Lassi Marttala2012-04-041-1/+1
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-2, Allow for enabling/disabling compression for the separateLassi Marttala2012-04-044-16/+37
| | | | | | directories. Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-2, Check if the file is already compressed.Lassi Marttala2012-04-041-3/+18
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-2 Link with libz, fix a typo.Lassi Marttala2012-04-042-2/+3
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-2 zlib based compression.Lassi Marttala2012-04-044-0/+124
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Corrected email of Alexander WenzelChristian Muck2012-03-276-6/+6
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-38, Update <FILE> fields in licenses.Lassi Marttala2012-03-265-5/+5
|
* GDLT-38, Update licenses to all the sources.Lassi Marttala2012-03-262-62/+32
|
* GDLT-38, Update license in internal headers.Lassi Marttala2012-03-263-93/+51
|
* GDLT-38, Update license in more CMakeListsLassi Marttala2012-03-261-32/+11
|
* Update project structureChristian Muck2012-02-131-3/+0
|
* [GENDLT-16] Create variable in dlt-system.conf to configure the timeout of ↵Christian Muck2012-02-085-21/+48
| | | | the filetransfer fixed.
* [GSW-135] Fixed compile warningsChristian Muck2012-01-131-4/+9
|
* dlt-system filetransfer now recovers when file is deleted during filetransfer.Alexander Wenzel2011-11-222-18/+34
| | | | | Added check of file size when starting and deleting files during filetransfer. Added check of shm buffer availability when push to shm.
* Added dynamic increasable ringbuffers to user lib and daemon.Alexander Wenzel2011-11-151-2/+0
|
* Reverted old FIFO functions. Still SHM enabled by default.Alexander Wenzel2011-11-103-3/+5
|
* Added injection shell command to dlt-system.Alexander Wenzel2011-11-091-0/+34
|
* Added daemonise and signal handlers to dlt-system.Alexander Wenzel2011-11-042-21/+152
|
* Fixes syslog adapter in dlt-system.alex2011-11-031-22/+32
|
* Corrected install target path for dlt.conf and dlt-system.confAlexander Wenzel2011-10-191-1/+1
|
* [GSW-66] File transfer over DLT.Alexander Wenzel2011-10-181-3/+0
| | | | Fixed some compiler warnings.
* Prepared new version number and new config files installation.Alexander Wenzel2011-10-181-1/+3
|
* Improved file logging and added variable to enable each kind of system logging.Alexander Wenzel2011-10-146-146/+525
|