aboutsummaryrefslogtreecommitdiff
path: root/lib/libcam/camlib.c
Commit message (Expand)AuthorAgeFilesLines
* Fix a null-pointer dereference and a tautological check in cam_get_deviceAlan Somers2017-12-061-2/+7
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-1/+3
* Fix up r316081 by using nitems(cam_errbuf) instead of sizeof(cam_errbuf)Enji Cooper2017-03-291-27/+27
* libcam: use __func__ instead of hardcoding the function name as `func_name`Enji Cooper2017-03-281-36/+30
* Use `sizeof(cam_errbuf)` instead of `CAM_ERRBUF_SIZE` in snprintf callsEnji Cooper2017-03-281-80/+79
* libcam: NULL out freed `ccb.cdm.matches` and `ccb.cdm.patterns` pointersEnji Cooper2017-03-201-0/+5
* Fix multiple Coverity Out-of-bounds access false postive issues in CAMDon Lewis2016-05-241-1/+1
* Clean up trailing whitespace in lib/libcam; no functional changeEnji Cooper2016-04-141-12/+12
* Set dev->fd to -1 when calling cam_close_spec_device with a valid dev->fdEnji Cooper2015-10-171-1/+3
* Add missing header.Nathan Whitehorn2013-10-301-0/+1
* printf() specifier updates to CAM to handle either 32-bit or 64-bit lun_id_t.Nathan Whitehorn2013-10-301-6/+6
* Fix a typo: XPORT_SPI should be tested against transport, nor protocol.Xin LI2013-06-031-1/+1
* Use snprintf(3) constantly when generating CAM error messages.Jaakko Heinonen2012-03-031-44/+58
* Replace index() and rindex() calls with strchr() and strrchr().Ed Schouten2012-01-031-1/+1
* camlib.c: update one overlooked commentAndriy Gapon2010-10-111-3/+3
* cam_get_device, cam_open_device: make behavior simpler and more deterministicAndriy Gapon2010-10-111-85/+19
* Supply a valid Connect ID when issuing XPT_DEV_MATCH, whichMarius Strobl2008-10-271-0/+3
* 2nd and final commit that moves us to CAM_NEW_TRAN_CODEMatt Jacob2006-11-021-4/+12
* Go with a different version of the previous patch so to preserve errno.Joe Marcus Clarke2006-04-301-5/+5
* Fix a file descriptor leak in cam_lookup_pass() when the ioctl to findJoe Marcus Clarke2006-04-301-4/+5
* Better memory handling:Xin LI2005-07-131-4/+7
* Change a couple of comments so that GCC doesn't think that they containScott Long2004-07-291-3/+3
* string cleanup:Kenneth D. Merry2002-05-141-14/+12
* Add __FBSDID()s to libcamMatthew Dillon2001-09-301-2/+3
* Make sure you don't have a file descriptor leak for the 'real'Matt Jacob2001-07-041-1/+5
* get pd_type from inquiry data itselfMatt Jacob2000-01-161-1/+1
* Fix a file descriptor leak in cam_open_btl(). The xpt device was opened,Kenneth D. Merry1999-09-121-1/+5
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* cam_get_device() was returning 0 on failure, and 1 on success, whileMike Pritchard1999-06-151-10/+10
* Use snprintf to make sure we don't overflow a buffer.Kenneth D. Merry1998-11-151-4/+5
* Fix an error message. (it was using an uninitialized variable)Kenneth D. Merry1998-11-151-2/+2
* Add a "dummy light" (actually two dummy lights) to catch people who don'tKenneth D. Merry1998-10-121-4/+27
* CAM userland utility library, a replacement for libscsi.Justin T. Gibbs1998-09-151-0/+757