Message ID | 20180413203424.20542-2-nicolas.iooss@m4x.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0E1AC60541 for <patchwork-selinux@patchwork.kernel.org>; Fri, 13 Apr 2018 21:03:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28A5E28A10 for <patchwork-selinux@patchwork.kernel.org>; Fri, 13 Apr 2018 21:03:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D3DF28A14; Fri, 13 Apr 2018 21:03:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from UCOL19PA10.eemsg.mail.mil (ucol19pa10.eemsg.mail.mil [214.24.24.83]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 848CC28A13 for <patchwork-selinux@patchwork.kernel.org>; Fri, 13 Apr 2018 21:03:47 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.48,446,1517875200"; d="scan'208";a="487984898" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by UCOL19PA10.eemsg.mail.mil with ESMTP/TLS/AES256-SHA; 13 Apr 2018 21:03:46 +0000 X-IronPort-AV: E=Sophos;i="5.48,446,1517875200"; d="scan'208";a="12037635" IronPort-PHdr: =?us-ascii?q?9a23=3AetrpWR+c0rRNn/9uRHKM819IXTAuvvDOBiVQ1K?= =?us-ascii?q?B61uMfIJqq85mqBkHD//Il1AaPAd2Araocw8Pt8InYEVQa5piAtH1QOLdtbD?= =?us-ascii?q?Qizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBB?= =?us-ascii?q?r/KRB1JuPoEYLOksi7ze+/94HdbglSmDaxfa55IQmrownWqsQYm5ZpJLwryh?= =?us-ascii?q?vOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3?= =?us-ascii?q?o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsL4V7A0XS?= =?us-ascii?q?mp4bltRhHmlSwLMyc1/HzLhsB1iq9QvRCvqAFlw4PMYI+bKvRwcKDac9wYS2?= =?us-ascii?q?pPQ95RWi5cDo6ycYQPFPEMMfpEo4Tnu1cDtweyCRWqCejyyjFInHj23agi3u?= =?us-ascii?q?o5EAHJwAsgH9YUv3TPsd77N6ASUeeuzKnT0D7OaPVW2Tbh54jPdhAuu+qMUa?= =?us-ascii?q?hxccrWzkkvDBjFg06VqYHqMDKZzOMNs3KU7+d5U++klm0pqxlprzSyycohhZ?= =?us-ascii?q?PFi4IIxlze6yl0z5g5KcelREJjYtOpEIFcuiCeOodsQs4vQntktDg6x7Ebv5?= =?us-ascii?q?OwYTIEx449xxHFbvyKa42I4hX+W+mPOTp4n3dleK6nhxa17Eig1vXwVsmq31?= =?us-ascii?q?ZOqSpIisXMuWoX1xzS98iHUeFx/luh2DmT1wDT7ftIIUYomqrAN5Et2Lswlp?= =?us-ascii?q?sXsUjbHy/2nlv5jLOOe0k59eWl5P7rb7X7qpOGKYN5hR/yPr4zlsCnBOQ3KA?= =?us-ascii?q?kOX2yV+eSm073j+FX0QK5Ugf0yk6nZto3aJMsCqqGiBA9Vz4Aj5AqhADe9y9?= =?us-ascii?q?kYgXkGI05FeBKAlYTpPUrOL+riAfewhFSsji9nx+raMb35HpXNMn/Dna/jfb?= =?us-ascii?q?Z67U5T0hYzzdBF6JJSEbwBIvXzWkn0tNPCFR85LxK7w/z8CNln0YMeQ22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t74mZtfaD4IAGW/0y/kCJRWZq?= =?us-ascii?q?1ocoYBEX2uLNGvxtVim57tXGZV9ECiB1waxM+pfgCSY0bh0g1Q0kQXp3OnlD?= =?us-ascii?q?C8zzx1lTEmtLCf3CvUz+TlbhoHNXZBRHN+glf0PYi0k9caUVCsbwgojxul+V?= =?us-ascii?q?/2x7NFq6R7LmnTR1pIfiftImF5Squwt7yCY89T55MzqylXVvqzYUyCQL7nvx?= =?us-ascii?q?Qayz/jH3dZxD0jbTGqvZH5nxhkh2KHMHlzq3TYdNprxRfC+NPcXuRd3j0cRC?= =?us-ascii?q?l3kTPXHESzP8G1/dWIkJfOquO+WHynVp1IaiTrzp2PtC2g5W1sHxK/g+q/mt?= =?us-ascii?q?r9EQg1ySX7zcVlVT3UrBbgZYnmz7y6Pvh6fklsGlD889B1GodikoQunpEdwm?= =?us-ascii?q?Uaho6L8nodimf/K85b2aXjbHoXWTEE3dDV4A//2E1sMH2F3YT5WWuBwsF5fd?= =?us-ascii?q?m1fnsW2j4h78BNEKqU8rpEkjZur1qmqwLefPh9ki0byfQw9H4Qm/sJtxY1zi?= =?us-ascii?q?WBHrASGlFVPTT2mBSV69Czt7lYZGezcbmwzUZ+k8quDLeYrgFbQnb5dY8oHT?= =?us-ascii?q?Vs4cVnLFLMzHrz55nqeNbKa9ITqhqUkxLbguhbNp0+i/0KhTB9NmLlp30lzO?= =?us-ascii?q?w7ggJy0pGmpoSHLH9t/K2hCB5CKjL1f98T+i3qjatGm8aZxYSvHpF/FTUXQJ?= =?us-ascii?q?vnV+inHSkUtfv5KwaOCyEzpW2DGbXBBwOf7llpr27XGZCxK36XPGUZzcllRB?= =?us-ascii?q?SFKkxfmh4bUyghnpEjEACq2MvhcFxi6z8L+lH4rwFAyuVyNxnwSm3fvhunai?= =?us-ascii?q?8oSJiDKxpb9gdC513PPsyG9uJ+BC9Y/py7rAyWNmybaQVIDWcTVUyCG1/jP6?= =?us-ascii?q?Oh5d3a/+ifHOq+IOPEYa+Spu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SRxLhA0BsyIVLhOA1/6ZnK?= =?us-ascii?q?95UdqqqvL92k0z+Fi+Mh4HzLd26Ief5qWIpfHYbx3NzbgFQKfmXMXzoaowu0?= =?us-ascii?q?mK//0riKYOenBpYw2gCOUdUtUdxmLgwK0xwyIjDd7MH7X6+PFZT3I5hDXgm5?= =?us-ascii?q?JjEFoKBvMYB72L/Z5Rnm0ggezWKsUWcrxemmaIDROkEL4CyXuw5iuSPmZkgg?= =?us-ascii?q?/B0wvxQWO141/6tyl4TjXQz937iEpaSqG3BVtOXyquIUJ4sTKOMxDyu9Xroq?= =?us-ascii?q?k19185MnD6u92RjmehP6lXH8LnLtyGPSY0vE4XjIE2RtG3wo8bGMG9IdkL/3?= =?us-ascii?q?F8b/ve93urnDVco6dDnIfR/saV9ejJEna6kq2asbKNxCpCxXQiulE/8N+gPO?= =?us-ascii?q?nU59KWW/Soy3oRTyBntgvZRRG1tqDUr1AaOEyMykfLm5UGPspH0nk810Hm4v?= =?us-ascii?q?UjQd0o+QVGDInAe+8NpTD9OTvz21afYMg7ViqA3DtNGFL6D114FLI72GLqs8?= =?us-ascii?q?LDjW3Q9EEwRolsa0znggR6D4oiJkI39lcX3ioDHBMJaRCaELGnG0TlIpEZVU?= =?us-ascii?q?gYcxiH2qa1ersv101p3ryv/PPTbfB7B6cVOfZSkAiOnERcGpIRtqEeW6xze1?= =?us-ascii?q?tc9K7RuwjjBJPqX/z4mnoqNfy6WNpW8cYHuHs++gy/XQav6Y9f77YHj5CFbr?= =?us-ascii?q?JLYZrWs89g9Epo+TkPdihJgBh+kRy5S/wcq/7/7djbqpao7fyuVKk1TeUN6x?= =?us-ascii?q?c0H3h+j4f3gF07pNHX0OFcSpHaiYvh6w1NJn+Kt5zc0xZiNeoPJYWrfKxj93?= =?us-ascii?q?UcPSQeIWwBPcaOYfkm/yBtKCnT50BFAs4UatMXINHNmRtNhkP0V79d8MvbGl?= =?us-ascii?q?mFC4Z8bM0o4G/3xyoz8ZQiSOrg7yW2JZ/H5VFXI/xDlDlslM7FpOUNw/rSDy?= =?us-ascii?q?gX4X+DZxdpwiOCz4SNBOvx/OWNztHUTFAGHi8tXodDJTqC5xaoRu6om5XoSA?= =?us-ascii?q?+U7NH8gI4mfkKKWnOxhLgFsrpLEeNYiyX7wCJRFobuivKRrtqj9WpXtlpcEI?= =?us-ascii?q?pp6h3FAqpfNI1hORvkjsmrWlR8BizndcHWaBUutuSWxuMX7uRwLUT+Y5EUIg?= =?us-ascii?q?4ex7L893VVUhNkSKTqsVaBQeIReNxmRevLrnBR7oJhJbEAPFyZpJHxtTdIr1?= =?us-ascii?q?Y2AA41Z7MqqDxVaFXOlhVPW6nooL4AlhccUdlhtE9JGGKwO2E+5z3cWKRXlq?= =?us-ascii?q?aRC/sV8jONQawISUloND1xQw+t0pV0Z7SphexHsn9Bni5lu/clzTpmRAentC?= =?us-ascii?q?33o6IN3i4g+K2mtDofpHNJVOKekz3HCV9b1vQFkb8cC2r+6Vy7eHQDdIzy4L?= =?us-ascii?q?19KsT6+4gh5HA/YRs4ci0DWuSgDDrwgL2UDYyVt9JcnwWNuMTIbb+8NyQSMa?= =?us-ascii?q?49yR37TXhnzgfehApo8HcMQji44t8rOoG9Occ9xiW2AmXadVcM4qZMsMTvr1?= =?us-ascii?q?4LSPU5ZUlmwGV53ciNXjcNS9DXG2Ypkggkbn1JcZxb6R8AFqknniiHs7JD/g?= =?us-ascii?q?EVfDfUCJqq9pPXncfS1nk3Vc1qyX7Opq2ZmpMq12Vom9Rw7iGQo3kSb+jYXN?= =?us-ascii?q?V3Anjv14dQ1fD+Z++zve8ZUodmzqquUOMaOMm55WS2wIlqWlOixrkGG1q5Me?= =?us-ascii?q?kDxqrUUiu8TW2YWP+Lc3SXnzsiM079/x+oLlotZMdNtU89PfPIhoRAmA35Tb?= =?us-ascii?q?N0WiKQqEfezGM5LewadwM2uIGgewERUu4RZu6cKvYqwP0/DlsMcnDIETFxC+?= =?us-ascii?q?+svl6nhJJ7NGl44UXmfeTt9RjrMNmIFRkHFo7VtYV8+eG8RmKdOX9gywByPE?= =?us-ascii?q?Z09+fDDVgxsPFTc4qJl9jKm9t7yfIFd+tqMSAluN4Tn4Vj6ZOO0MeLahHc1Z?= =?us-ascii?q?DyKsvQoveGAv3T1UMqentVUrABewP6+506PsIlW73UBbZZphocBa0mT5EgNG?= =?us-ascii?q?r87790Ix1pcg7QZbW0hc/qqviNZpRKu3+Fpm43eTzRvxwF1+ycUR1wb5fsgW?= =?us-ascii?q?77Zp83WGFvtdpoXz1nF4xLEthIjg2gGIXczKe6gNi18lg8uugNqrHYD6zakt?= =?us-ascii?q?Oj0NMiDNBh+UWXMWOJV+FQiUN/g7H326+aiMv4FN/idNUYVeNyXm/CbPrcE5?= =?us-ascii?q?6iLi6VZZmuZlZM/+fNyLsgC1OcaSXiUOyDvSygcvBl5RZeqMR0f+vWmToq6b?= =?us-ascii?q?yTmN7/fHpSqSrrq3mVfIBe41rHCa2WXx9dRfeftmcwG6oRYIY=3D?= X-IPAS-Result: =?us-ascii?q?A2DwAgDqGtFa/wHyM5Bcg0goA4EBWiiMRIwzgwOSaIFxF?= =?us-ascii?q?RiHGiE0GAECAQEBAQEBAgFrKII1JIJKAwMBAnkDCQEBSAgDAVMZBYMxgVcDA?= =?us-ascii?q?QGqXYNzZINsgi+IBIFUP4EPiEqFCAKHEJBOCIFhhkeGB4xSkBeBJRw4gVIzG?= =?us-ascii?q?jCDBpBQbY54AQE?= Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 13 Apr 2018 21:03:46 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w3DL3jZX008452; Fri, 13 Apr 2018 17:03:46 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id w3DL2EFB011158 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Fri, 13 Apr 2018 17:02:14 -0400 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w3DL2KeM008158 for <selinux@tycho.nsa.gov>; Fri, 13 Apr 2018 17:02:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1CMAAC/GdFaly0bGNZcHgEMBoMXKIFeK?= =?us-ascii?q?IxEjDODA5JoggaHMiE0GAECAQEBAQEBAhQBAQEBAQYYBoV6BoEJUVcZgzaBVwM?= =?us-ascii?q?BAapsg3Nkg2yCL4gEgVQ/gQ+ISoUIAocQkE4IgWGGR4YHjFKQF4ElHIIKMxowg?= =?us-ascii?q?waQUG2OeAEB?= X-IPAS-Result: =?us-ascii?q?A1CMAAC/GdFaly0bGNZcHgEMBoMXKIFeKIxEjDODA5Jogga?= =?us-ascii?q?HMiE0GAECAQEBAQEBAhQBAQEBAQYYBoV6BoEJUVcZgzaBVwMBAapsg3Nkg2yCL?= =?us-ascii?q?4gEgVQ/gQ+ISoUIAocQkE4IgWGGR4YHjFKQF4ElHIIKMxowgwaQUG2OeAEB?= X-IronPort-AV: E=Sophos;i="5.48,446,1517893200"; d="scan'208";a="251361" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 13 Apr 2018 17:02:19 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AGVKRKhO/t332Q5+Ic8Ul6mtUPXoX/o7sNwtQ0K?= =?us-ascii?q?IMzox0LfT4rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHz?= =?us-ascii?q?Qksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPER?= =?us-ascii?q?vjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsM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tDgmFIKrC5vCTYmxgbuHmT?= =?us-ascii?q?22BYBSensZUwKRCX3kLtScUq5VLi+fJ9Ru1DkNVLznTo4lhlmitw7/nrxgKO?= =?us-ascii?q?ecuigVronq29U94erP3Qoz+jp5A4XV02yEQ2xu2GJdQTgw0a0=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CMAAA4GtFaly0bGNZcg0gogV4ojES?= =?us-ascii?q?MM4MDkmiCBocyITQYAQIBAQEBAQECARMBAQEBAQYYBleCNSKCTAaBCVFXGYM?= =?us-ascii?q?2gVcDAQGqXYNzZINsgi+IBIFUP4EPiEqFCAKHEJBOCIFhhkeGB4xSkBeBJRy?= =?us-ascii?q?CCjMaMIMGkFBtjngBAQ?= X-IPAS-Result: =?us-ascii?q?A0CMAAA4GtFaly0bGNZcg0gogV4ojESMM4MDkmiCBocyI?= =?us-ascii?q?TQYAQIBAQEBAQECARMBAQEBAQYYBleCNSKCTAaBCVFXGYM2gVcDAQGqXYNzZ?= =?us-ascii?q?INsgi+IBIFUP4EPiEqFCAKHEJBOCIFhhkeGB4xSkBeBJRyCCjMaMIMGkFBtj?= =?us-ascii?q?ngBAQ?= X-IronPort-AV: E=Sophos;i="5.48,446,1517875200"; d="scan'208";a="10727678" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from updc3cpa06.eemsg.mail.mil ([214.24.27.45]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 13 Apr 2018 21:02:19 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;f5b249f8-5efa-4858-8aec-e9b570c73d03 Received: from localhost.localdomain (localhost [127.0.0.1]) by UPDCF3IC01.oob.disa.mil (Postfix) with SMTP id 40N9FM2dsbz4BPFZ for <selinux@tycho.nsa.gov>; Fri, 13 Apr 2018 21:01:59 +0000 (UTC) Received: from UPBD19PA11.eemsg.mil (unknown [192.168.18.17]) by UPDCF3IC01.oob.disa.mil (Postfix) with ESMTP id 40N9FM1Fd5z4BPFY for <selinux@tycho.nsa.gov>; Fri, 13 Apr 2018 21:01:59 +0000 (UTC) Authentication-Results: upbd19pa11.eemsg.mail.mil; dkim=none (message not signed) header.i=none X-EEMSG-check-008: 129459127|UPBD19PA11_EEMSG_MP11.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 129.104.30.34 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CMAAAPGdFahyIeaIFcHgEMBoMXggYojESMM4MDkmiCBhOHHyE0GAECAQEBAQEBAhQBAQEKCwkIKC+FIwaBCVFXGYM2gVcEAapqg3Nkg2yCL4gEgVQ/gQ+ISoUIAocQkE4IgWGGR4YHjFKQF4ElHIIKMxowgwaQUG2OeAEB X-IPAS-Result: A0CMAAAPGdFahyIeaIFcHgEMBoMXggYojESMM4MDkmiCBhOHHyE0GAECAQEBAQEBAhQBAQEKCwkIKC+FIwaBCVFXGYM2gVcEAapqg3Nkg2yCL4gEgVQ/gQ+ISoUIAocQkE4IgWGGR4YHjFKQF4ElHIIKMxowgwaQUG2OeAEB Received: from mx1.polytechnique.org ([129.104.30.34]) by upbd19pa11.eemsg.mail.mil with ESMTP; 13 Apr 2018 21:01:58 +0000 Received: from localhost.localdomain (abo-251-56-69.avi.modulonet.fr [85.69.56.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 72DFA564947 for <selinux@tycho.nsa.gov>; Fri, 13 Apr 2018 23:01:14 +0200 (CEST) X-EEMSG-check-009: 444-444 From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Date: Fri, 13 Apr 2018 22:34:21 +0200 Message-Id: <20180413203424.20542-2-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180413203424.20542-1-nicolas.iooss@m4x.org> References: <20180413203424.20542-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Fri Apr 13 23:01:14 2018 +0200 (CEST)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org Subject: [PATCH 2/5] libsepol: ensure the level context is not empty X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libsepol/src/genusers.c b/libsepol/src/genusers.c index 556821066e3e..9bea83fd8304 100644 --- a/libsepol/src/genusers.c +++ b/libsepol/src/genusers.c @@ -201,11 +201,11 @@ static int load_users(struct policydb *policydb, const char *path) if (!(*p)) BADLINE(); q = p; - while (*p && strncasecmp(p, "range", 5)) + while (*p && (!isspace(*p) || strncasecmp(p + 1, "range", 5))) p++; - if (!(*p)) + if (!(*p) || p == q) BADLINE(); - *--p = 0; + *p = 0; p++; scontext = malloc(p - q);
When load_users() parses an invalid line with an empty level context (ie. nothing between "level" and "range" keywords), it allocates memory with malloc(0) and uses it. The behavior of malloc() in this case is an unspecified behavior: it might return NULL, which would lead to a segmentation fault. Fix this issue by reporting the invalid entry instead. While at it, ensure that the character before "range" is a space, and change the logic slightly in order to avoid using "--p; ... p++;". This issue is reported by clang's static analyzer with the following message: genusers.c:222:11: warning: Use of zero-allocated memory *r++ = *s; ^ genusers.c:225:7: warning: Use of zero-allocated memory *r = 0; ^ Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- libsepol/src/genusers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)