Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750797AbWCTLlv (ORCPT ); Mon, 20 Mar 2006 06:41:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750787AbWCTLlu (ORCPT ); Mon, 20 Mar 2006 06:41:50 -0500 Received: from a1819.adsl.pool.eol.hu ([81.0.120.41]:34023 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S1750709AbWCTLlt (ORCPT ); Mon, 20 Mar 2006 06:41:49 -0500 To: matthew@wil.cx CC: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: DoS with POSIX file locks? Message-Id: From: Miklos Szeredi Date: Mon, 20 Mar 2006 12:41:21 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 569 Lines: 14 Unlike open files there doesn't seem to be any limit on the number of locks being held either globally or by a single process. Hence an unprivileged process can consume large amounts of unswappable kernel memory even if there are strict limits on other resources. Is there a reason why this shouldn't be a problem? Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/