This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/19958 ) Change subject: add copyright + license disclaimers to ccid_common + ccid_host ...................................................................... add copyright + license disclaimers to ccid_common + ccid_host Change-Id: I1b0f876de337c625081dc5b579dd0a88d62c857c --- M ccid_common/ccid_device.c M ccid_common/ccid_device.h M ccid_common/ccid_proto.c M ccid_common/ccid_proto.h M ccid_common/ccid_slot_fsm.c M ccid_common/cuart.c M ccid_common/cuart.h M ccid_common/iso7816_fsm.c M ccid_common/iso7816_fsm.h M ccid_host/ccid_main_functionfs.c M ccid_host/ccid_slot_sim.c M ccid_host/cuart_driver_tty.c M ccid_host/cuart_fsm_test.c M ccid_host/cuart_test.c M ccid_host/hub_main_functionfs.c M ccid_host/logging.c 16 files changed, 283 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/58/19958/1 diff --git a/ccid_common/ccid_device.c b/ccid_common/ccid_device.c index 9e72e11..6574564 100644 --- a/ccid_common/ccid_device.c +++ b/ccid_common/ccid_device.c @@ -1,3 +1,22 @@ +/* CCID Device handling + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <stdlib.h> #include <stdio.h> #include <unistd.h> diff --git a/ccid_common/ccid_device.h b/ccid_common/ccid_device.h index bcf5d12..97d6212 100644 --- a/ccid_common/ccid_device.h +++ b/ccid_common/ccid_device.h @@ -1,4 +1,23 @@ #pragma once +/* CCID Device handling + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <stdbool.h> #include <stdint.h> diff --git a/ccid_common/ccid_proto.c b/ccid_common/ccid_proto.c index 9a6b8fa..5265e36 100644 --- a/ccid_common/ccid_proto.c +++ b/ccid_common/ccid_proto.c @@ -1,3 +1,22 @@ +/* CCID Protocol related Definitions + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <osmocom/core/utils.h> #include "ccid_proto.h" diff --git a/ccid_common/ccid_proto.h b/ccid_common/ccid_proto.h index 92878dc..1c6dd07 100644 --- a/ccid_common/ccid_proto.h +++ b/ccid_common/ccid_proto.h @@ -1,4 +1,23 @@ #pragma once +/* CCID Protocol related Definitions + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <stdint.h> #include <osmocom/core/utils.h> diff --git a/ccid_common/ccid_slot_fsm.c b/ccid_common/ccid_slot_fsm.c index 99c8c21..ba29acd 100644 --- a/ccid_common/ccid_slot_fsm.c +++ b/ccid_common/ccid_slot_fsm.c @@ -1,6 +1,23 @@ /* Code providing a ccid_slot_ops implementation based on iso7716_fsm, * (which in turn sits on top of card_uart) */ +/* (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <unistd.h> #include <errno.h> #include <string.h> diff --git a/ccid_common/cuart.c b/ccid_common/cuart.c index 7094a86..bc99631 100644 --- a/ccid_common/cuart.c +++ b/ccid_common/cuart.c @@ -1,3 +1,22 @@ +/* Card UART handling + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <errno.h> #include <string.h> #include <osmocom/core/linuxlist.h> diff --git a/ccid_common/cuart.h b/ccid_common/cuart.h index 6f8ba70..e5ec501 100644 --- a/ccid_common/cuart.h +++ b/ccid_common/cuart.h @@ -1,4 +1,23 @@ #pragma once +/* Card UART handling + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <stdint.h> #include <stdbool.h> #include <osmocom/core/linuxlist.h> diff --git a/ccid_common/iso7816_fsm.c b/ccid_common/iso7816_fsm.c index a9d6ca1..059950f 100644 --- a/ccid_common/iso7816_fsm.c +++ b/ccid_common/iso7816_fsm.c @@ -1,6 +1,6 @@ /* ISO 7816-3 Finite State Machine (reader side) * - * (C) 2019 by Harald Welte <laforge at gnumonks.org> + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> * * inspired by earlier work * (C) 2016-2017 by Harald Welte <hwelte at hmw-consulting.de> diff --git a/ccid_common/iso7816_fsm.h b/ccid_common/iso7816_fsm.h index d4aee59..c0ef620 100644 --- a/ccid_common/iso7816_fsm.h +++ b/ccid_common/iso7816_fsm.h @@ -1,4 +1,22 @@ #pragma once +/* ISO7816-3 Finite State Machine + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ #include <osmocom/core/fsm.h> struct card_uart; diff --git a/ccid_host/ccid_main_functionfs.c b/ccid_host/ccid_main_functionfs.c index d3e0c3c..b538e12 100644 --- a/ccid_host/ccid_main_functionfs.c +++ b/ccid_host/ccid_main_functionfs.c @@ -1,3 +1,22 @@ +/* CCID USB Gadget - Main program using USB FunctionFS + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <errno.h> #include <stdint.h> diff --git a/ccid_host/ccid_slot_sim.c b/ccid_host/ccid_slot_sim.c index dc33114..c873c73 100644 --- a/ccid_host/ccid_slot_sim.c +++ b/ccid_host/ccid_slot_sim.c @@ -1,6 +1,23 @@ /* Simulated CCID card slot. This is used in absence of a real hardware back-end * in order to test the CCID firmware codebase in a virtual environment */ +/* (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <osmocom/core/msgb.h> #include <osmocom/core/timer.h> #include <osmocom/core/logging.h> diff --git a/ccid_host/cuart_driver_tty.c b/ccid_host/cuart_driver_tty.c index 42a8430..38a6504 100644 --- a/ccid_host/cuart_driver_tty.c +++ b/ccid_host/cuart_driver_tty.c @@ -1,6 +1,23 @@ /* Card (ICC) UART driver for simple serial readers attached to tty. * This allows you to use the CCID core in Linux userspace against a serial reader */ +/* (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <unistd.h> #include <termios.h> #include <errno.h> diff --git a/ccid_host/cuart_fsm_test.c b/ccid_host/cuart_fsm_test.c index 38cad14..db14779 100644 --- a/ccid_host/cuart_fsm_test.c +++ b/ccid_host/cuart_fsm_test.c @@ -1,3 +1,23 @@ +/* Minimal test program for the ISO7816-3 FSM + * expects a Smart Card attached to a UART reachable as /dev/ttyXXX + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + #include <unistd.h> #include <stdio.h> #include <errno.h> diff --git a/ccid_host/cuart_test.c b/ccid_host/cuart_test.c index e2b1ce2..2a4eb2c 100644 --- a/ccid_host/cuart_test.c +++ b/ccid_host/cuart_test.c @@ -1,3 +1,24 @@ +/* Card UART (cuart) teset program + * - this tests only the CUART layer, without any FSM on top + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + + #include <unistd.h> #include <stdio.h> #include <errno.h> diff --git a/ccid_host/hub_main_functionfs.c b/ccid_host/hub_main_functionfs.c index f350e50..1776c94 100644 --- a/ccid_host/hub_main_functionfs.c +++ b/ccid_host/hub_main_functionfs.c @@ -1,3 +1,22 @@ +/* USB Gadget simulating a USB hub over FunctionFS + * - this was used to play with limitations of the Linux kernel hub driver + * + * (C) 2019 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ #include <errno.h> #include <stdint.h> diff --git a/ccid_host/logging.c b/ccid_host/logging.c index 4e14815..266d132 100644 --- a/ccid_host/logging.c +++ b/ccid_host/logging.c @@ -1,3 +1,23 @@ +/* libosmocore logging integration + * + * (C) 2019-2020 by Harald Welte <laforge at gnumonks.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + */ + + #include <osmocom/core/utils.h> #include <osmocom/core/logging.h> #include "logging.h" -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/19958 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I1b0f876de337c625081dc5b579dd0a88d62c857c Gerrit-Change-Number: 19958 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200903/89c448f1/attachment.htm>